From 804a36bdf36cfec5d1c6a316f9106fe6fb5869b7 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Sun, 13 Aug 2023 20:28:53 +0200 Subject: [PATCH] fix(frontend): fix test configuration due to breaking change Signed-off-by: Tilman Vatteroth --- frontend/jest.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/jest.config.ts b/frontend/jest.config.ts index 3265e9c8c..3f1e85192 100644 --- a/frontend/jest.config.ts +++ b/frontend/jest.config.ts @@ -12,7 +12,7 @@ const createJestConfig = nextJest({ // Add any custom config to be passed to Jest const customJestConfig = { - setupFilesAfterEnv: ['@testing-library/jest-dom/extend-expect'], + setupFilesAfterEnv: ['@testing-library/jest-dom/jest-globals'], moduleNameMapper: { // Handle module aliases (this will be automatically configured for you soon) '^@/components/(.*)$': '/src/components/$1',