Skip to content

Commit

Permalink
feat: define config merging (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
sand4rt authored Jan 20, 2024
1 parent 84b164f commit 7ad0672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playwright-ct-web/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 };

0 comments on commit 7ad0672

Please sign in to comment.