fix(tests): installation tests (#13623)

This commit is contained in:
Pavel Feldman 2022-04-18 21:17:56 -08:00 committed by GitHub
parent 007e908cd9
commit 3c896f6bc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 3 deletions

0
installation-tests/test_npx_global_codegen.sh Normal file → Executable file
View file

0
installation-tests/test_npx_global_help.sh Normal file → Executable file
View file

0
installation-tests/test_npx_global_install.sh Normal file → Executable file
View file

View file

@ -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;
}