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.

Inspired by Mocha and @asdgf, BDD-style is used by default.

References

Quick example

index.test.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;
  });
});