diff --git a/installation-tests/test_npx_global_codegen.sh b/installation-tests/test_npx_global_codegen.sh old mode 100644 new mode 100755 diff --git a/installation-tests/test_npx_global_help.sh b/installation-tests/test_npx_global_help.sh old mode 100644 new mode 100755 diff --git a/installation-tests/test_npx_global_install.sh b/installation-tests/test_npx_global_install.sh old mode 100644 new mode 100755 diff --git a/packages/playwright-core/src/utils/stackTrace.ts b/packages/playwright-core/src/utils/stackTrace.ts index a5a7070565..cca2eb18f2 100644 --- a/packages/playwright-core/src/utils/stackTrace.ts +++ b/packages/playwright-core/src/utils/stackTrace.ts @@ -35,7 +35,6 @@ const CORE_SRC = path.join(CORE_DIR, 'src'); const TEST_DIR_SRC = path.resolve(CORE_DIR, '..', 'playwright-test'); const TEST_DIR_LIB = path.resolve(CORE_DIR, '..', '@playwright', 'test'); const COVERAGE_PATH = path.join(CORE_DIR, '..', '..', 'tests', 'config', 'coverage.js'); -const WS_LIB = path.relative(process.cwd(), path.dirname(require.resolve('ws'))); export type StackFrame = { file: string, @@ -70,8 +69,6 @@ export function isInternalFileName(file: string, functionName?: string): boolean // Node 12 if (file === '_stream_readable.js' || file === '_stream_writable.js') return true; - if (file.startsWith(WS_LIB)) - return true; return false; }