Writing tests

It is recommended to write your tests using async functions, which are natively supported by Node.js as of version 7. Alternatively, the test files must be compiled using TypeScript or Babel.

If you write your tests with TypeScript, it is recommended to enable the no-floating-promises TSLint rule. This can prevent the await operators from being forgotten.

results matching ""

    No results matching ""