Skip to content

This is a playground so i can run some javascript unit tests fast

Notifications You must be signed in to change notification settings

fakiolinho/javascript-unit-tests-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javascript Unit Tests Playground

This is a playground so i can run some javascript unit tests fast with Jest, Mocha or Tape.

Getting Started

Run following commands to get started:

git clone https://github.com/fakiolinho/javascript-unit-tests-playground.git
cd javascript-unit-tests-playground && npm i

Jest Tests

Put the test file in jest folder and name it following name.spec.js pattern. Run your test:

npm run test:jest

Mocha Tests

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

Tape Tests

Put the test file in tape folder and name it following name.spec.js pattern. Run your test:

npm run test:tape

License

This project is licensed under the MIT License

About

This is a playground so i can run some javascript unit tests fast

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published