diff --git a/jest.config.js b/jest.config.js index 974f78f1..0313733b 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,5 +1,6 @@ module.exports = { coverageDirectory: './coverage', + testURL: 'http://localhost', collectCoverageFrom: [ '**/src/**/*.js', '!**/__tests__/**', diff --git a/other/configuration/calculator.solution/jest.config.js b/other/configuration/calculator.solution/jest.config.js index 34fffe46..73038fcc 100644 --- a/other/configuration/calculator.solution/jest.config.js +++ b/other/configuration/calculator.solution/jest.config.js @@ -1,6 +1,7 @@ module.exports = { displayName: 'calculator', testEnvironment: 'jsdom', + testURL: 'http://localhost', setupTestFrameworkScriptFile: require.resolve( './test/setup-test-framework.js', ), diff --git a/other/jest-expect/jest.config.js b/other/jest-expect/jest.config.js index ac0d094b..c8feec92 100644 --- a/other/jest-expect/jest.config.js +++ b/other/jest-expect/jest.config.js @@ -1,3 +1,4 @@ module.exports = { displayName: 'expect', + testURL: 'http://localhost', } diff --git a/other/simple-react/jest.config.js b/other/simple-react/jest.config.js index 0dd0e5cd..cbbd8ca4 100644 --- a/other/simple-react/jest.config.js +++ b/other/simple-react/jest.config.js @@ -1,3 +1,4 @@ module.exports = { displayName: 'react', + testURL: 'http://localhost', } diff --git a/server/jest.config.js b/server/jest.config.js index b2ba703e..1ac7278f 100644 --- a/server/jest.config.js +++ b/server/jest.config.js @@ -1,6 +1,7 @@ // ./server/jest.config.js module.exports = { displayName: 'server', + testURL: 'http://localhost', testEnvironment: 'node', modulePaths: ['/src', '/test'], }