Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: use different babel import in tsxTransform (#36370)

Max Schmitt777d1e54b6f1
diff --git a/packages/playwright-ct-core/src/tsxTransform.ts b/packages/playwright-ct-core/src/tsxTransform.ts
index f2fad4efa8..fbf3d0cc18 100644
--- a/packages/playwright-ct-core/src/tsxTransform.ts
+++ b/packages/playwright-ct-core/src/tsxTransform.ts
@@ -19,7 +19,7 @@ import path from 'path';
import { declare, traverse, types } from 'playwright/lib/transform/babelBundle';
import { setTransformData } from 'playwright/lib/transform/transform';
-import type { BabelAPI, PluginObj, T } from 'playwright/src/transform/babelBundle';
+import type { BabelAPI, PluginObj, T } from 'playwright/lib/transform/babelBundle';
const t: typeof T = types;
let jsxComponentNames: Set<string>;