This is a playground so i can run some javascript unit tests fast with Jest, Mocha or Tape.
Run following commands to get started:
git clone https://github.com/fakiolinho/javascript-unit-tests-playground.git
cd javascript-unit-tests-playground && npm i
Put the test file in jest
folder and name it following name.spec.js
pattern. Run your test:
npm run test:jest
Put the test file in mocha
folder and name it following name.spec.js
pattern. Chai is used for assertions. Run your test:
npm run test:mocha
Put the test file in tape
folder and name it following name.spec.js
pattern. Run your test:
npm run test:tape
This project is licensed under the MIT License