Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Oct 15, 2024
1 parent 9707142 commit 35a89b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/development/app-dir/dynamic-error-trace/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ describe('app dir - dynamic error trace', () => {
'[data-nextjs-call-stack-frame]'
)
const stackFramesContent = // TODO: Why is this text empty?
(await Promise.all(stackFrameElements.map((f) => f.innerText())))
// Filter out the frames having code snippet but without methodName and source
.filter(Boolean)
.join('\n')
(await Promise.all(stackFrameElements.map((f) => f.innerText())))
// Filter out the frames having code snippet but without methodName and source
.filter(Boolean)
.join('\n')

// TODO: Show useful stack
expect(normalizeStackTrace(stackFramesContent)).toMatchInlineSnapshot(
Expand Down

0 comments on commit 35a89b6

Please sign in to comment.