7/3/2023 0 Comments Bookreader cupsIf you have an idea for an improvement, open an issue. Check out the issues and see what interests you. We can always use a hand building BookReader. To run all local unit tests, run command: npm run test Ways to contribute ![]() We have unit tests and use Jest to run them.įor mocks, we use Jest's internal mocking mechanism and Sinon to set spies. To keep end to end test server on while developing, run command: npm run test:e2e:dev Unit tests To run all local end to end tests, run command: npm run test:e2e And if you don't see a test for something you spotted, feel free to make an issue. Check the project board for open tickets to work on. These are relatively easy to do, and a fantastic way of getting introduced to the wonders of BookReader. We write tests for the repo itself and also for our use on. We also have end to end tests using Testcafe. We would like to get to 100% test coverage and are tracking our progress in this project: BookReader Fidelity End to end tests We release BookReader in-repo as tags & also as a node module Tests It'll automatically update the version number where it appears, build the files, and ask you to update the CHANGELOG. To version bump the repo and prepare a release, run npm version major|minor|patch (following semver), then (something like) git push origin HEAD -tags.
0 Comments
Leave a Reply. |