From 869ac6e41f9d0603da733d7ebf6b143fb068f9a7 Mon Sep 17 00:00:00 2001 From: Florian Heft Date: Tue, 7 Sep 2021 21:07:12 +0200 Subject: [PATCH] Specify jest environment --- jest.setup.js | 2 -- package.json | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/jest.setup.js b/jest.setup.js index 38d2d2e..a8dc8d5 100644 --- a/jest.setup.js +++ b/jest.setup.js @@ -32,5 +32,3 @@ expect.extend({ } }, }); - - diff --git a/package.json b/package.json index 813ceb6..02c752c 100644 --- a/package.json +++ b/package.json @@ -63,6 +63,7 @@ ], "setupFilesAfterEnv": [ "/jest.setup.js" - ] + ], + "testEnvironment": "jsdom" } }