We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Tone.js has an extensive test suite built on karma, mocha and chai.
To install all testing dependencies:
npm install
To run all tests on Chrome and Firefox using Karma Test Runner:
npm run test
To test an individual file with karma:
npm run test --file=Oscillator
(replace Oscillator with the name of the test file you'd like to run)
Oscillator
To run all tests in a directory run:
npm run test --dir=core
(replace core with the name of the directory you'd like to run)
core
Installation