From 981deaaa2222fcddbef93ab40278f717faa76c67 Mon Sep 17 00:00:00 2001 From: "Michael S. Molina" <70410625+michael-s-molina@users.noreply.github.com> Date: Tue, 16 Feb 2021 13:48:16 -0300 Subject: [PATCH] Change test environment to jsdom (#13149) --- superset-frontend/jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/jest.config.js b/superset-frontend/jest.config.js index 272cece4e2..d2355ceaa3 100644 --- a/superset-frontend/jest.config.js +++ b/superset-frontend/jest.config.js @@ -25,7 +25,7 @@ module.exports = { '^src/(.*)$': '/src/$1', '^spec/(.*)$': '/spec/$1', }, - testEnvironment: 'enzyme', + testEnvironment: 'jsdom', setupFilesAfterEnv: ['/spec/helpers/setup.ts'], testURL: 'http://localhost', collectCoverageFrom: ['src/**/*.{js,jsx,ts,tsx}'],