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

This commit is contained in:
Tom Ratcliffe
2024-04-18 12:23:38 +01:00
committed by Tom Ratcliffe
parent 0f4a47b180
commit 389250afe0
+1
View File
@@ -1,3 +1,4 @@
import 'whatwg-fetch';
import '@testing-library/jest-dom';
import { configure } from '@testing-library/react';
import i18next from 'i18next';