mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
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…
x
Reference in New Issue
Block a user