Skip to content

Commit

Permalink
Ensure assertNoRedbox has a stack when it fails (vercel#68940)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon authored Aug 15, 2024
1 parent 1088ccd commit f93c0bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/next-test-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ export async function assertNoRedbox(browser: BrowserInterface) {
`description: ${redboxDescription}\n` +
`source: ${redboxSource}`
)
Error.captureStackTrace(error, assertHasRedbox)
Error.captureStackTrace(error, assertNoRedbox)
throw error
}
}
Expand Down

0 comments on commit f93c0bd

Please sign in to comment.