Calculator library for Lard's Forecasts
Based on a simple boilerplate to set up a typescript TDD environment with mocha.
The Tools included are:
Simply type npm run test
and all tests will be run.
All Mocha Configuration is handled via the .mocharc.jsonc File, this includes:
- Compiler-Options: Tests are ran with ts-node directly to skip a compilation phase
- Test-Filter-Patterns: All files ending with
spec.ts
will be included in tests - Globals and Plugin registration: plugins (e.g. sinon-chai) can be registered within the mocha-globals.js File