Skip to content

Commit

Permalink
Change test environment to jsdom (#13149)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-s-molina authored Feb 16, 2021
1 parent 2e93784 commit 981deaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset-frontend/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = {
'^src/(.*)$': '<rootDir>/src/$1',
'^spec/(.*)$': '<rootDir>/spec/$1',
},
testEnvironment: 'enzyme',
testEnvironment: 'jsdom',
setupFilesAfterEnv: ['<rootDir>/spec/helpers/setup.ts'],
testURL: 'http://localhost',
collectCoverageFrom: ['src/**/*.{js,jsx,ts,tsx}'],
Expand Down

0 comments on commit 981deaa

Please sign in to comment.