From 5a89d11cca7a50969ed6615f5e1ca302585ebac3 Mon Sep 17 00:00:00 2001 From: Isha Date: Thu, 23 Jun 2022 18:06:15 +0200 Subject: [PATCH] Use jsdom environment --- jest.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 7257d13..18f7a53 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,3 +1,4 @@ module.exports = { - moduleDirectories: ["src", "node_modules"] + moduleDirectories: ["src", "node_modules"], + testEnvironment: "jsdom" };