jest.extends.ts
// XXX All expect.extend() utilities loaded here will be available for all tests, they also might need to be declared in jest.d.ts
import {
toMatchOneOf,
toMatchShapeOf,
} from 'jest-to-match-shape-of'; // See https://www.npmjs.com/package/jest-to-match-shape-of
// Import utilities that extend Jest "expect" function by themselves
import './src/utils/testing/toContainObject';
// Extend Jest "expect" function
expect.extend({
toMatchOneOf,
toMatchShapeOf,
});