Jest Testing Framework

Overview

Qualified supports writing tests for JavaScript (Node 10 only) using Jest.

Quick Start

const sum = (a, b) => a + b;
module.exports = sum;
const sum = require('./solution');
describe('Example', () => {
  test('adds 1 + 2 to equal 3', () => {
    expect(sum(1, 2)).toBe(3);
  });
});

Learn More

You can learn more on the Jest website.