Tests

Source file extensions: *.(spec|test).(js|jsx|ts|tsx)

Tests are run in browser after each save and a report is generated on the "Tests" tab.

Mocha BDD-style is used by default.

References

Quick example

index.spec.js

import chai from 'chai/chai.js';
const expect = chai.expect;

describe('Dummy test', function () {
it('should be always true', function () {
expect(true).to.be.true;
});
});