2021-03-09 12:39:13 +00:00
|
|
|
// jest-dom adds custom jest matchers for asserting on DOM nodes.
|
|
|
|
// allows you to do things like:
|
|
|
|
// expect(element).toHaveTextContent(/react/i)
|
|
|
|
// learn more: https://github.com/testing-library/jest-dom
|
2023-08-09 12:04:36 +00:00
|
|
|
import "@testing-library/jest-dom";
|
|
|
|
|
|
|
|
// add all jest-extended matchers
|
|
|
|
import * as matchers from "jest-extended";
|
|
|
|
expect.extend(matchers);
|