File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/middleware-bucket-endpoint/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -742,7 +742,7 @@ describe("bucketHostname", () => {
742
742
accelerateEndpoint : true ,
743
743
} ) ;
744
744
// should never get here
745
- expect ( 1 ) . toEqual ( 0 ) ;
745
+ expect . assertions ( 1 ) ;
746
746
} catch ( e ) {
747
747
// should throw since these are error cases
748
748
expect ( 1 ) . toEqual ( 1 ) ;
@@ -759,7 +759,7 @@ describe("bucketHostname", () => {
759
759
dualstackEndpoint : true ,
760
760
} ) ;
761
761
// should never get here
762
- expect ( 1 ) . toEqual ( 0 ) ;
762
+ expect . assertions ( 1 ) ;
763
763
} catch ( e ) {
764
764
// should throw since these are error cases
765
765
expect ( 1 ) . toEqual ( 1 ) ;
@@ -910,7 +910,7 @@ describe("bucketHostname", () => {
910
910
useArnRegion : useArnRegion ,
911
911
} ) ;
912
912
// should never get here
913
- expect ( 1 ) . toEqual ( 0 ) ;
913
+ expect . assertions ( 1 ) ;
914
914
} catch ( e ) {
915
915
// should throw since these are error cases
916
916
expect ( 1 ) . toEqual ( 1 ) ;
You can’t perform that action at this time.
0 commit comments