diff --git a/playwright-ct-web/index.js b/playwright-ct-web/index.js index 65e9726..32dedf8 100644 --- a/playwright-ct-web/index.js +++ b/playwright-ct-web/index.js @@ -23,6 +23,6 @@ function plugin() { return createPlugin(path.join(__dirname, 'registerSource.mjs')); }; -const defineConfig = config => originalDefineConfig({ ...config, _plugins: [plugin] }); +const defineConfig = (config, ...configs) => originalDefineConfig({ ...config, _plugins: [plugin] }, ...configs); module.exports = { test, expect, devices, defineConfig };