@@ -286,13 +286,13 @@ test.describe("ErrorBoundary", () => {
286286 await appFixture . close ( ) ;
287287 } ) ;
288288
289- test ( "invalid request methods" , async ( ) => {
289+ test . only ( "invalid request methods" , async ( ) => {
290290 let res = await fixture . requestDocument ( "/" , { method : "OPTIONS" } ) ;
291291 expect ( res . status ) . toBe ( 405 ) ;
292292 expect ( await res . text ( ) ) . toMatch ( ROOT_BOUNDARY_TEXT ) ;
293293 } ) ;
294294
295- test ( "own boundary, action, document request" , async ( ) => {
295+ test . only ( "own boundary, action, document request" , async ( ) => {
296296 let params = new URLSearchParams ( ) ;
297297 let res = await fixture . postDocument ( HAS_BOUNDARY_ACTION , params ) ;
298298 expect ( res . status ) . toBe ( 500 ) ;
@@ -319,7 +319,7 @@ test.describe("ErrorBoundary", () => {
319319 expect ( await app . getHtml ( "main" ) ) . toMatch ( OWN_BOUNDARY_TEXT ) ;
320320 } ) ;
321321
322- test ( "bubbles to parent in action document requests" , async ( ) => {
322+ test . only ( "bubbles to parent in action document requests" , async ( ) => {
323323 let params = new URLSearchParams ( ) ;
324324 let res = await fixture . postDocument ( NO_BOUNDARY_ACTION , params ) ;
325325 expect ( res . status ) . toBe ( 500 ) ;
@@ -344,7 +344,7 @@ test.describe("ErrorBoundary", () => {
344344 expect ( await app . getHtml ( "main" ) ) . toMatch ( ROOT_BOUNDARY_TEXT ) ;
345345 } ) ;
346346
347- test ( "own boundary, loader, document request" , async ( ) => {
347+ test . only ( "own boundary, loader, document request" , async ( ) => {
348348 let res = await fixture . requestDocument ( HAS_BOUNDARY_LOADER ) ;
349349 expect ( res . status ) . toBe ( 500 ) ;
350350 expect ( await res . text ( ) ) . toMatch ( OWN_BOUNDARY_TEXT ) ;
@@ -357,7 +357,7 @@ test.describe("ErrorBoundary", () => {
357357 expect ( await app . getHtml ( "main" ) ) . toMatch ( OWN_BOUNDARY_TEXT ) ;
358358 } ) ;
359359
360- test ( "bubbles to parent in loader document requests" , async ( ) => {
360+ test . only ( "bubbles to parent in loader document requests" , async ( ) => {
361361 let res = await fixture . requestDocument ( NO_BOUNDARY_LOADER ) ;
362362 expect ( res . status ) . toBe ( 500 ) ;
363363 expect ( await res . text ( ) ) . toMatch ( ROOT_BOUNDARY_TEXT ) ;
@@ -372,7 +372,7 @@ test.describe("ErrorBoundary", () => {
372372 expect ( await app . getHtml ( "main" ) ) . toMatch ( ROOT_BOUNDARY_TEXT ) ;
373373 } ) ;
374374
375- test ( "ssr rendering errors with no boundary" , async ( ) => {
375+ test . only ( "ssr rendering errors with no boundary" , async ( ) => {
376376 let res = await fixture . requestDocument ( NO_BOUNDARY_RENDER ) ;
377377 expect ( res . status ) . toBe ( 500 ) ;
378378 expect ( await res . text ( ) ) . toMatch ( ROOT_BOUNDARY_TEXT ) ;
@@ -387,7 +387,7 @@ test.describe("ErrorBoundary", () => {
387387 expect ( await app . getHtml ( "main" ) ) . toMatch ( ROOT_BOUNDARY_TEXT ) ;
388388 } ) ;
389389
390- test ( "ssr rendering errors with boundary" , async ( ) => {
390+ test . only ( "ssr rendering errors with boundary" , async ( ) => {
391391 let res = await fixture . requestDocument ( HAS_BOUNDARY_RENDER ) ;
392392 expect ( res . status ) . toBe ( 500 ) ;
393393 expect ( await res . text ( ) ) . toMatch ( OWN_BOUNDARY_TEXT ) ;
@@ -432,7 +432,7 @@ test.describe("ErrorBoundary", () => {
432432 await page . waitForSelector ( "#root-boundary" ) ;
433433 } ) ;
434434
435- test ( "renders root boundary in document POST without action requests" , async ( ) => {
435+ test . only ( "renders root boundary in document POST without action requests" , async ( ) => {
436436 let res = await fixture . requestDocument ( NO_BOUNDARY_NO_LOADER_OR_ACTION , {
437437 method : "post" ,
438438 } ) ;
@@ -449,7 +449,7 @@ test.describe("ErrorBoundary", () => {
449449 await page . waitForSelector ( "#root-boundary" ) ;
450450 } ) ;
451451
452- test ( "renders own boundary in document POST without action requests" , async ( ) => {
452+ test . only ( "renders own boundary in document POST without action requests" , async ( ) => {
453453 let res = await fixture . requestDocument ( HAS_BOUNDARY_NO_LOADER_OR_ACTION , {
454454 method : "post" ,
455455 } ) ;
@@ -595,7 +595,7 @@ test.describe("ErrorBoundary", () => {
595595 expect ( await app . getHtml ( "h1" ) ) . toMatch ( INTERNAL_ERROR_BOUNDARY_HEADING ) ;
596596 } ) ;
597597
598- test ( "bubbles to internal boundary if loader doesn't return (document requests)" , async ( ) => {
598+ test . only ( "bubbles to internal boundary if loader doesn't return (document requests)" , async ( ) => {
599599 let res = await fixture . requestDocument ( NO_ROOT_BOUNDARY_LOADER_RETURN ) ;
600600 expect ( res . status ) . toBe ( 500 ) ;
601601 expect ( await res . text ( ) ) . toMatch ( INTERNAL_ERROR_BOUNDARY_HEADING ) ;
@@ -611,7 +611,7 @@ test.describe("ErrorBoundary", () => {
611611 expect ( await app . getHtml ( "h1" ) ) . toMatch ( INTERNAL_ERROR_BOUNDARY_HEADING ) ;
612612 } ) ;
613613
614- test ( "bubbles to internal boundary if action doesn't return (document requests)" , async ( ) => {
614+ test . only ( "bubbles to internal boundary if action doesn't return (document requests)" , async ( ) => {
615615 let res = await fixture . requestDocument ( NO_ROOT_BOUNDARY_ACTION_RETURN , {
616616 method : "post" ,
617617 } ) ;
0 commit comments