File tree 1 file changed +18
-18
lines changed
test/development/app-dir/owner-stack-react-missing-key-prop
1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -76,16 +76,16 @@ async function getStackFramesContent(browser) {
76
76
} else {
77
77
expect ( stackFramesContent ) . toMatchInlineSnapshot ( `""` )
78
78
expect ( source ) . toMatchInlineSnapshot ( `
79
- "app/rsc/page.tsx (5:6) @ Page
79
+ "app/rsc/page.tsx (5:6) @ div
80
80
81
- 3 | export default function Page() {
82
- 4 | return (
83
- > 5 | <div>
84
- | ^
85
- 6 | {list.map((item, index) => (
86
- 7 | <span>{item}</span>
87
- 8 | ))}"
88
- ` )
81
+ 3 | export default function Page() {
82
+ 4 | return (
83
+ > 5 | <div>
84
+ | ^
85
+ 6 | {list.map((item, index) => (
86
+ 7 | <span>{item}</span>
87
+ 8 | ))}"
88
+ ` )
89
89
}
90
90
} )
91
91
@@ -111,16 +111,16 @@ async function getStackFramesContent(browser) {
111
111
} else {
112
112
expect ( stackFramesContent ) . toMatchInlineSnapshot ( `""` )
113
113
expect ( source ) . toMatchInlineSnapshot ( `
114
- "app/ssr/page.tsx (7:6) @ Page
114
+ "app/ssr/page.tsx (7:6) @ div
115
115
116
- 5 | export default function Page() {
117
- 6 | return (
118
- > 7 | <div>
119
- | ^
120
- 8 | {list.map((item, index) => (
121
- 9 | <p>{item}</p>
122
- 10 | ))}"
123
- ` )
116
+ 5 | export default function Page() {
117
+ 6 | return (
118
+ > 7 | <div>
119
+ | ^
120
+ 8 | {list.map((item, index) => (
121
+ 9 | <p>{item}</p>
122
+ 10 | ))}"
123
+ ` )
124
124
}
125
125
} )
126
126
}
You can’t perform that action at this time.
0 commit comments