Skip to content

Commit 94e3ea0

Browse files
committed
test(config-resolver): fix RegionHash in getRegionInfo.spec.ts
1 parent 7785fe3 commit 94e3ea0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/config-resolver/src/regionInfo/getRegionInfo.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ describe(getRegionInfo.name, () => {
2929
...((regionCase === RegionCase.REGION || regionCase === RegionCase.REGION_AND_ENDPOINT) && {
3030
[mockRegion]: {
3131
hostname: mockHostname,
32+
variants: [{ hostname: mockHostname, tags: [] }],
3233
},
3334
}),
3435
...((regionCase === RegionCase.ENDPOINT || regionCase === RegionCase.REGION_AND_ENDPOINT) && {
3536
[mockEndpointRegion]: {
3637
hostname: mockEndpointHostname,
38+
variants: [{ hostname: mockEndpointHostname, tags: [] }],
3739
},
3840
}),
3941
});

0 commit comments

Comments
 (0)