Jest Testing Framework
Overview
Qualified supports writing tests for JavaScript (Node 10+ only) using Jest.
Quick Start
- Solution Code
const sum = (a, b) => a + b;
module.exports = sum;
- Test Fixture:
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.
Related Articles
-
Karma with Mocha Testing Framework (BDD)
Information about the Karma with Mocha testing framework -
Karma with Mocha Testing Framework (TDD)
Information about the Karma with Mocha testing framework -
Mocha Testing Framework (BDD)
Information about the Mocha testing framework -
Mocha Testing Framework (TDD)
Information about the Mocha testing framework -
Qualified Testing Framework
Help for the Qualified Testing Framework under JavaScript