synapse-admin/src/setupTests.js
Manuel Stahl 5208198b76 Replace enzyme with testing-library/react
Enzyme is not compatible with react 17.

Change-Id: If9bca2c482bfe10a18d2ee2bc213dab966849b5b
2021-05-05 19:23:01 +02:00

4 lines
67 B
JavaScript

import fetchMock from "jest-fetch-mock";
fetchMock.enableMocks();