Open sweep-ai[bot] opened 1 year ago
This PR sets up the Jest testing framework for the project.
Changes include:
devDependencies
package.json
scripts
tests
tests/sample.test.js
With these changes, we can now easily write and run tests for the project using Jest. To run the tests, simply use the command npm run test.
npm run test
Please review the changes and let me know if anything needs to be updated. Thanks!
Fixes #1.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/setup-jest-testing_1
The latest updates on your projects. Learn more about Vercel for Git ↗︎
This PR sets up the Jest testing framework for the project.
Changes include:
devDependencies
inpackage.json
.scripts
section inpackage.json
that runs the tests using Jest.tests
directory at the root of the project.tests/sample.test.js
to verify that Jest is working correctly.With these changes, we can now easily write and run tests for the project using Jest. To run the tests, simply use the command
npm run test
.Please review the changes and let me know if anything needs to be updated. Thanks!
Fixes #1.
To checkout this PR branch, run the following command in your terminal: