diff --git a/jest.config.js b/jest.config.js index 2548253b702..a84d6975ca2 100644 --- a/jest.config.js +++ b/jest.config.js @@ -7,6 +7,7 @@ module.exports = { roots: ['app/javascript'], setupFiles: ['./config/jest.setup.js'], testRegex: '(/__tests__/.*|(\\.|_|/)(test|spec))\\.(jsx?|tsx?)$', + testURL: 'http://localhost', transform: { '^.+\\.jsx?$': 'babel-jest', '.(ts|tsx)': 'ts-jest'