Add whatwg-fetch polyfill to jest test setup so all tests run it

This commit is contained in:
Tom Ratcliffe 2024-04-04 11:56:35 +01:00 committed by Tom Ratcliffe
parent 0f4a47b180
commit 389250afe0

View File

@ -1,3 +1,4 @@
import 'whatwg-fetch';
import '@testing-library/jest-dom';
import { configure } from '@testing-library/react';
import i18next from 'i18next';