diff --git a/packages/playwright-ct-react17/cli.js b/packages/playwright-ct-react17/cli.js index b6f935eb522f6..9cc834ee95e85 100755 --- a/packages/playwright-ct-react17/cli.js +++ b/packages/playwright-ct-react17/cli.js @@ -15,8 +15,6 @@ * limitations under the License. */ -const { program, initializePlugin } = require('@playwright/experimental-ct-core/lib/program'); -const { _framework } = require('./index'); +const { program } = require('@playwright/experimental-ct-core/lib/program'); -initializePlugin(_framework); program.parse(process.argv); diff --git a/packages/playwright-ct-solid/cli.js b/packages/playwright-ct-solid/cli.js index b6f935eb522f6..9cc834ee95e85 100755 --- a/packages/playwright-ct-solid/cli.js +++ b/packages/playwright-ct-solid/cli.js @@ -15,8 +15,6 @@ * limitations under the License. */ -const { program, initializePlugin } = require('@playwright/experimental-ct-core/lib/program'); -const { _framework } = require('./index'); +const { program } = require('@playwright/experimental-ct-core/lib/program'); -initializePlugin(_framework); program.parse(process.argv); diff --git a/packages/playwright-ct-svelte/cli.js b/packages/playwright-ct-svelte/cli.js index b6f935eb522f6..9cc834ee95e85 100755 --- a/packages/playwright-ct-svelte/cli.js +++ b/packages/playwright-ct-svelte/cli.js @@ -15,8 +15,6 @@ * limitations under the License. */ -const { program, initializePlugin } = require('@playwright/experimental-ct-core/lib/program'); -const { _framework } = require('./index'); +const { program } = require('@playwright/experimental-ct-core/lib/program'); -initializePlugin(_framework); program.parse(process.argv); diff --git a/packages/playwright-ct-vue/cli.js b/packages/playwright-ct-vue/cli.js index b6f935eb522f6..9cc834ee95e85 100755 --- a/packages/playwright-ct-vue/cli.js +++ b/packages/playwright-ct-vue/cli.js @@ -15,8 +15,6 @@ * limitations under the License. */ -const { program, initializePlugin } = require('@playwright/experimental-ct-core/lib/program'); -const { _framework } = require('./index'); +const { program } = require('@playwright/experimental-ct-core/lib/program'); -initializePlugin(_framework); program.parse(process.argv); diff --git a/packages/playwright-ct-vue2/cli.js b/packages/playwright-ct-vue2/cli.js index b6f935eb522f6..9cc834ee95e85 100755 --- a/packages/playwright-ct-vue2/cli.js +++ b/packages/playwright-ct-vue2/cli.js @@ -15,8 +15,6 @@ * limitations under the License. */ -const { program, initializePlugin } = require('@playwright/experimental-ct-core/lib/program'); -const { _framework } = require('./index'); +const { program } = require('@playwright/experimental-ct-core/lib/program'); -initializePlugin(_framework); program.parse(process.argv);