File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -464,10 +464,7 @@ class ThingModelHelperTest {
464464 ] ,
465465 } as unknown as ThingModel ;
466466
467- await expect ( this . thingModelHelpers . getPartialTDs ( thing ) ) . to . be . rejectedWith (
468- Error ,
469- "http status code not 200 but 404 for http://example.com/models/colored-lamp-1.0.0.tm.jsonld"
470- ) ;
467+ await expect ( this . thingModelHelpers . getPartialTDs ( thing ) ) . to . be . rejectedWith ( Error , "http status code not 200" ) ;
471468 }
472469
473470 @test async "should fail on unavailable linked ThingModel - https" ( ) {
@@ -489,7 +486,7 @@ class ThingModelHelperTest {
489486
490487 await expect ( this . thingModelHelpers . getPartialTDs ( thing ) ) . to . be . rejectedWith (
491488 Error ,
492- "https status code not 200 but 404 for https://example.com/models/colored-lamp-1.0.0.tm.jsonld "
489+ "https status code not 200"
493490 ) ;
494491 }
495492}
You can’t perform that action at this time.
0 commit comments