Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/natserract/unit-test-javascript

🚀 Build your own Jest using pure Javascript
https://github.com/natserract/unit-test-javascript

babel es6 javascript nodemon unit-testing

Last synced: 30 days ago
JSON representation

🚀 Build your own Jest using pure Javascript

Awesome Lists containing this project

README

        

Unit Test Using Pure Javascript


Learn how automated JavaScript testing works by building your own unit testing framework!

Required packages:
- nodemon
- babel-cli

Order of material:

1. `index.js`
2. `utils.js`
3. `utils.test.js`
4. `mock.test.js`

The files are intended to test the `utils` module.

To run the files, run `npm run test-watch`.

> For the `global` one, run `npm run global-test-watch`