Skip to content

Client library file reorg., testing configuration & unit tests (cacheIt) #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: production
Choose a base branch
from

Conversation

matzec42
Copy link
Contributor

  • Created a main directory within /src, and moved client-side library (cacheiql-client) files into it for clarity. Updated imports/exports accordingly.
  • Set up configuration files, installation of jest, types, other dependencies (like jest-environment-jsdom) for client-side library testing. Tests folder for client-side library is located in the /src folder to avoid Typescript & bundling errors.
  • Wrote unit test for index.ts (cacheIt function, which serves as entry point for the library); tests pass successfully (function is executed with test arguments, and function returns a mock result of the cacheiqIt function).

Christopher Matzen added 4 commits June 29, 2025 23:25
…on and dependencies for client side testing; first unit test for cacheIt (entry point function)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant