You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tests are located in the test/tests/*.js directory.
Running the tests:
Run grunt or grunt test or
Open the test/index.html file in your browser to run the tests.
Writing new tests:
When submitting a pull request for a new feature/bug report, please add a corresponding test to allow us to verify the issue and your fix. A few rules about the tests:
Do write tests to accompany your pull request.
Do not test internal API.
Do not inspect internal properties for checking state.
Do use spies/stubs and mocks where appropriate.
Do position your tests in the appropriate place in the test/tests/*.js files.