MCPcopy
hub / github.com/microsoft/playwright / defineConfig

Function defineConfig

packages/playwright-ct-react/index.js:20–31  ·  view source on GitHub ↗
(config, ...configs)

Source from the content-addressed store, hash-verified

18const path = require('path');
19
20const defineConfig = (config, ...configs) => {
21 return originalDefineConfig({
22 ...config,
23 '@playwright/test': {
24 packageJSON: require.resolve('./package.json'),
25 },
26 '@playwright/experimental-ct-core': {
27 registerSourceFile: path.join(__dirname, 'registerSource.mjs'),
28 frameworkPluginFactory: () => import('@vitejs/plugin-react').then(plugin => plugin.default()),
29 },
30 }, ...configs);
31};
32
33module.exports = { test, expect, devices, defineConfig };

Callers

nothing calls this directly

Calls 2

thenMethod · 0.80
resolveMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…