Skip to content

Unit Testing

Luis Carbonell edited this page Jul 26, 2019 · 2 revisions

Unit Testing

To support unit tests in Node.js and Browser, we write all of our unit tests inside of test/unit.

As a modus operandi, we will create one file in test/unit for every file in src/.

Example

src/animals/dog.js --> test/unit/animals/dog.js

Clone this wiki locally