chore: make stack filtering playwright dev-friendly (#5604)
This commit is contained in:
parent
f85deeba01
commit
c91159f3f7
|
|
@ -41,7 +41,7 @@ const PW_LIB_DIRS = [
|
||||||
'playwright-chromium',
|
'playwright-chromium',
|
||||||
'playwright-firefox',
|
'playwright-firefox',
|
||||||
'playwright-webkit',
|
'playwright-webkit',
|
||||||
].map(packageName => path.join('node_modules', packageName, 'lib'));
|
].map(packageName => path.sep + path.join(packageName, 'lib'));
|
||||||
|
|
||||||
export function captureStackTrace(): { stack: string, frames: StackFrame[] } {
|
export function captureStackTrace(): { stack: string, frames: StackFrame[] } {
|
||||||
const stack = new Error().stack!;
|
const stack = new Error().stack!;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue