Skip to main content

Testing

Generating test

node op make:test <test_name>

For example:

node op make:test employee

This will create the following file in the test directory:

  • test/employee.spec.js