This repo holds samples that show how to use js-testcat in different scenarios.
After cloning the repo go a sample folder and run npm install
, then run npm test
to transpile (if necessary) and run the tests. Follow the instructions in the source file to include or exclude one of the sample test categories.
The folder typescript-mocha contains TypeScript sample code with tests using mocha, chai, and js-testcat.
The folder typescript-jasmine contains TypeScript sample code with tests using jasmine and js-testcat.
The folder javascript-mocha contains JavaScript sample code with tests using mocha, chai, and js-testcat.
The folder javascript-jasmine contains JavaScript sample code with tests using jasmine and js-testcat.