From 389250afe06b81bf162d828f4de1518547d27bed Mon Sep 17 00:00:00 2001 From: Tom Ratcliffe Date: Thu, 4 Apr 2024 11:56:35 +0100 Subject: [PATCH] Add whatwg-fetch polyfill to jest test setup so all tests run it --- public/test/setupTests.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/public/test/setupTests.ts b/public/test/setupTests.ts index 4b59a6b5b5b..aa7f7d8efb6 100644 --- a/public/test/setupTests.ts +++ b/public/test/setupTests.ts @@ -1,3 +1,4 @@ +import 'whatwg-fetch'; import '@testing-library/jest-dom'; import { configure } from '@testing-library/react'; import i18next from 'i18next';