@firefly-exchange/firefly-math
v1.0.84
Published
The Tools included are:
Downloads
1,689
Readme
Tools
The Tools included are:
Getting Started
git clone https://github.com/fireflyprotocol/firefly-math
git checkout main
yarn
yarn build
/yarn clean-build
How to run tests
Simply type yarn test:unit
and all tests will be run.
How to publish
- remove .js from .gitignore
- yarn build before publish
npm publish
How to add this library in other projects
yarn add @firefly-exchange/firefly-math
Configuration
All Mocha Configuration is handled via the mocha.opts File, this includes:
- Compiler-Options: Tests are ran with ts-node directly to skip a compilation phase
- Test-Filter-Patterns: All files ending with
test.ts
will be included in tests - Globals and Plugin registration: plugins (e.g. sinon-chai) can be registered within the mocha-globals.js File