Skip to content

Commit 026f00e

Browse files
authored
[test] More accurate stack assertions in terminal (#75355)
Failing test highlighting breakage in #75294
1 parent 2aa2eaa commit 026f00e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/development/app-dir/dynamic-io-dev-errors/dynamic-io-dev-errors.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ describe('Dynamic IO Dev Errors', () => {
7777
? '\n at main (<anonymous>)' +
7878
'\n at body (<anonymous>)' +
7979
'\n at html (<anonymous>)' +
80-
'\n at Root [Server] (<anonymous>)'
80+
'\n at Root [Server] (<anonymous>)' +
81+
// Just need some string to assert that this is the whole stack
82+
'\n GET /no-accessed-data 200'
8183
: // TODO(veil): Should be ignore-listed (see https://linear.app/vercel/issue/NDX-464/next-internals-not-ignore-listed-in-terminal-in-webpack#comment-1164a36a)
8284
'\n at InnerLayoutRouter (..')
8385
)

0 commit comments

Comments
 (0)