Skip to content

Commit 42b02b0

Browse files
authored
[Cache Components] fix env labels in perf track test (#85132)
We updated the label for the Runtime stage to `Prefetchable` in #85076, and #85111 wasn't rebased on top of that
1 parent df102ae commit 42b02b0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/development/app-dir/react-performance-track/react-performance-track.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ describe('react-performance-track', () => {
6161
expect(track).toEqual(
6262
expect.arrayContaining([
6363
{
64-
name: '\u200bparams [Prefetch]',
64+
name: '\u200bparams [Prefetchable]',
6565
properties: [],
6666
},
6767
])
@@ -80,7 +80,7 @@ describe('react-performance-track', () => {
8080
expect(track).toEqual(
8181
expect.arrayContaining([
8282
{
83-
name: '\u200bsearchParams [Prefetch]',
83+
name: '\u200bsearchParams [Prefetchable]',
8484
properties: [],
8585
},
8686
])
@@ -97,7 +97,7 @@ describe('react-performance-track', () => {
9797
expect(track).toEqual(
9898
expect.arrayContaining([
9999
{
100-
name: '\u200bcookies [Prefetch]',
100+
name: '\u200bcookies [Prefetchable]',
101101
properties: [],
102102
},
103103
// TODO: The error message makes this seem like it shouldn't pop up here.
@@ -123,7 +123,7 @@ describe('react-performance-track', () => {
123123
})
124124

125125
const track = await browser.eval('window.reactServerRequests.getSnapshot()')
126-
// TODO: Should include "draftMode [Prefetch]".
126+
// TODO: Should include "draftMode [Prefetchable]".
127127
expect(track).toEqual([
128128
{
129129
name: '\u200b',
@@ -142,7 +142,7 @@ describe('react-performance-track', () => {
142142
expect(track).toEqual(
143143
expect.arrayContaining([
144144
{
145-
name: '\u200bheaders [Prefetch]',
145+
name: '\u200bheaders [Prefetchable]',
146146
properties: [],
147147
},
148148
// TODO: The error message makes this seem like it shouldn't pop up here.

0 commit comments

Comments
 (0)