Tone.js/test
2024-05-03 14:26:12 -04:00
..
audio Don't reschedule source when offset is very small 2021-12-19 11:21:27 -05:00
helper import type syntax 2024-05-03 14:18:52 -04:00
integration prettier all of the files 2024-05-03 11:09:28 -04:00
scripts cleaning up 2024-05-03 14:26:12 -04:00
README.md prettier all of the files 2024-05-03 11:09:28 -04:00
web-test-runner.config.js updating thresholds 2024-05-01 16:11:04 -04:00

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