mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-05-31 12:04:06 +03:00
make adapt test-server-loader to work with playwright webkit
This commit is contained in:
@@ -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)}`)}`;
|
||||
},
|
||||
};
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user