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
linusha edited this page May 11, 2021
·
2 revisions
Lively.next tests use the Mocha.js framework, which has been modified for SystemJS. The mocha-es6 package is used for SystemJS integration with lively.
Additionally, expect-js is used for BDD-like syntax. Tests thus look like this:
By convention, tests are placed in the test folder directly in the package root directory. Test files are named something-test.js, with something describing what the tests are about.