mirror of
https://github.com/Tonejs/Tone.js
synced 2024-12-26 11:33:09 +00:00
a256ae2e6c
* working on getting actions to run * running all tests * run on CHROME only * Update test.yml * ignoring node_modules * updating typedocs * trying to ignore compiler errors * Update tsconfig.json * running doc tests in parallel * speeding up docs example tests * Update test.yml * testing README * 2 spaces instead of 4 * codecov * remove travis ci * adding token * updating codecov |
||
---|---|---|
.. | ||
audio | ||
helper | ||
scripts | ||
karma.conf.cjs | ||
README.md |
Both Chrome and Firefox are required to run the run the full set of tests.
Basic
To run tests in both browsers headlessly and report the results:
npm run test
Browser
To run tests in a Chrome browser not in headless mode which allows you to debug from the console:
npm run test:browser
Selective Testing
To test only an individual file:
npm run test --file=Signal
Or to run on an entire directory:
npm run test --dir=signal