Skip to content

Commit 9d40364

Browse files
update region test
1 parent 05170d2 commit 9d40364

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/contentstack-config/test/unit/commands/region.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ describe('Region command', function () {
5353
try {
5454
await GetRegionCommand.run([]);
5555
} catch (error) {
56-
result = error;
56+
result = error as Error;
5757
}
58-
expect(result.message).to.include('CLI_CONFIG_GET_REGION_NOT_FOUND EEXIT: 1');
58+
expect((result as Error).message).to.include('CLI_CONFIG_GET_REGION_NOT_FOUND EEXIT: 1');
5959
});
6060

6161
// Test cases for predefined regions

0 commit comments

Comments
 (0)