Skip to content

Add tests using a local backend #19

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

Merged
merged 8 commits into from
Mar 12, 2024
Merged

Add tests using a local backend #19

merged 8 commits into from
Mar 12, 2024

Conversation

sshader
Copy link
Contributor

@sshader sshader commented Mar 11, 2024

Commits are as follows:

  • Install Jest and get a very simple test running via npx jest
  • Prep for running tests with a local backend via npm run testFunctions
  • Get a simple test using the local backend running
    • Install convex-helpers, add test-only function wrappers + clearAll, write a simple test
  • Add more complex tests (featuring auth, errors, and test-only set up functions)
Copy link

vercel bot commented Mar 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
convex-chess ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 12, 2024 2:24pm
@sshader sshader force-pushed the sshader-add-tests branch from 546044e to 548cfd7 Compare March 12, 2024 14:23
@sshader sshader merged commit 65d733a into main Mar 12, 2024
@sshader sshader deleted the sshader-add-tests branch March 12, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant