Commit 25e84437 authored by Jiachi Liu's avatar Jiachi Liu

test: fix testing snapshot

parent 30b9c8f9
...@@ -76,7 +76,7 @@ async function getStackFramesContent(browser) { ...@@ -76,7 +76,7 @@ async function getStackFramesContent(browser) {
} else { } else {
expect(stackFramesContent).toMatchInlineSnapshot(`""`) expect(stackFramesContent).toMatchInlineSnapshot(`""`)
expect(source).toMatchInlineSnapshot(` expect(source).toMatchInlineSnapshot(`
"app/rsc/page.tsx (5:6) @ Page "app/rsc/page.tsx (5:6) @ div
3 | export default function Page() { 3 | export default function Page() {
4 | return ( 4 | return (
...@@ -111,7 +111,7 @@ async function getStackFramesContent(browser) { ...@@ -111,7 +111,7 @@ async function getStackFramesContent(browser) {
} else { } else {
expect(stackFramesContent).toMatchInlineSnapshot(`""`) expect(stackFramesContent).toMatchInlineSnapshot(`""`)
expect(source).toMatchInlineSnapshot(` expect(source).toMatchInlineSnapshot(`
"app/ssr/page.tsx (7:6) @ Page "app/ssr/page.tsx (7:6) @ div
5 | export default function Page() { 5 | export default function Page() {
6 | return ( 6 | return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment