Skip to main content

jest-extended

Additional Jest matchers 🃏💪

Easy to Use

Easy to Use

jest-extended is an assertion library that extends Jest's expect, giving developers more options when writing tests.

Focus on What Matters

Focus on What Matters

jest-extended provides matchers for all data types so that you can quickly find the best matcher for your test.

Powered by React

Powered by open source

All of the matchers are defined by the community and new matchers can be simply added by raising an issue or pull request here

Playground

All jest-extended matchers are available in this playground. See API for all available matchers.

test('Playground', () => {
  expect(true).toBeBoolean();
  expect(1).toBeNumber();
  expect('').toBeString();
  expect([]).toBeArray();
  expect({}).toBeObject();
});

Open browser consoleTests