test: fix tests

This commit is contained in:
Max Schmitt 2024-08-05 16:48:54 +02:00
parent eacfaadcee
commit 1828998894
2 changed files with 2 additions and 1 deletions

View file

@ -28,6 +28,7 @@
"./lib/runner/testServer": "./lib/runner/testServer.js", "./lib/runner/testServer": "./lib/runner/testServer.js",
"./lib/transform/esmLoader": "./lib/transform/esmLoader.js", "./lib/transform/esmLoader": "./lib/transform/esmLoader.js",
"./lib/transform/transform": "./lib/transform/transform.js", "./lib/transform/transform": "./lib/transform/transform.js",
"./lib/internalsForTest": "./lib/internalsForTest.js",
"./lib/plugins": "./lib/plugins/index.js", "./lib/plugins": "./lib/plugins/index.js",
"./jsx-runtime": { "./jsx-runtime": {
"import": "./jsx-runtime.mjs", "import": "./jsx-runtime.mjs",

View file

@ -15,7 +15,7 @@
*/ */
import { playwrightTest as it, expect } from '../config/browserTest'; import { playwrightTest as it, expect } from '../config/browserTest';
import type { AttributeSelector } from '../../packages/playwright-core/src/selectorParser'; import type { AttributeSelector } from '../typed-imports';
import { parseAttributeSelector } from '../typed-imports'; import { parseAttributeSelector } from '../typed-imports';
const parse = (selector: string) => parseAttributeSelector(selector, false); const parse = (selector: string) => parseAttributeSelector(selector, false);