diff --git a/config/jest-test-server.loader.js b/config/jest-test-server.loader.js index c841b74..326a743 100644 --- a/config/jest-test-server.loader.js +++ b/config/jest-test-server.loader.js @@ -5,6 +5,6 @@ module.exports = { process: (src, filePath) => { const deploymentPath = path.relative(deploymentConfig.root, filePath); const split = deploymentPath.split(path.sep); - return `module.exports = ${JSON.stringify(`http://localhost:${deploymentConfig.port}/${path.posix.join(...split)}`)}`; + return `module.exports = ${JSON.stringify(`http://127.0.0.1:${deploymentConfig.port}/${path.posix.join(...split)}`)}`; }, }; diff --git a/jest-playwright.config.base.js b/jest-playwright.config.base.js index 9967148..504f9ce 100644 --- a/jest-playwright.config.base.js +++ b/jest-playwright.config.base.js @@ -4,7 +4,7 @@ const deploymentConfig = path.resolve(__dirname, './config/jest-browser.rollup.c const testServerPath = path.resolve(__dirname, './config/jest-test-server.js'); module.exports = { - browsers: ['chromium', 'firefox'], + browsers: ['chromium', 'firefox', 'webkit'], collectCoverage: true, launchType: 'LAUNCH', launchOptions: {