File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1233,6 +1233,7 @@ test.describe("Client Data", () => {
12331233
12341234 test ( "bubbled server loader errors are persisted for hydrating routes" , async ( {
12351235 page,
1236+ browserName,
12361237 } ) => {
12371238 let _consoleError = console . error ;
12381239 console . error = ( ) => { } ;
@@ -1274,7 +1275,12 @@ test.describe("Client Data", () => {
12741275 ) ;
12751276 expect ( html ) . toMatch ( "Child Server Error" ) ;
12761277 expect ( html ) . not . toMatch ( "Should not see me" ) ;
1277- expect ( logs ) . toEqual ( [ "running parent client loader" ] ) ;
1278+ if ( browserName === "firefox" ) {
1279+ // firefox logs a bunch of React 19 performance track stuff as well
1280+ expect ( logs ) . toContain ( "running parent client loader" ) ;
1281+ } else {
1282+ expect ( logs ) . toEqual ( [ "running parent client loader" ] ) ;
1283+ }
12781284 console . error = _consoleError ;
12791285 } ) ;
12801286
You can’t perform that action at this time.
0 commit comments