Skip to content

Commit

Permalink
fix(ct): fix the non-react cli entry points (#29748)
Browse files Browse the repository at this point in the history
Fixes #29746
  • Loading branch information
pavelfeldman authored Feb 29, 2024
1 parent 99744d0 commit 532d8e5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
4 changes: 1 addition & 3 deletions packages/playwright-ct-react17/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
4 changes: 1 addition & 3 deletions packages/playwright-ct-solid/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
4 changes: 1 addition & 3 deletions packages/playwright-ct-svelte/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
4 changes: 1 addition & 3 deletions packages/playwright-ct-vue/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
4 changes: 1 addition & 3 deletions packages/playwright-ct-vue2/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 532d8e5

Please sign in to comment.