We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05170d2 commit 9d40364Copy full SHA for 9d40364
1 file changed
packages/contentstack-config/test/unit/commands/region.test.ts
@@ -53,9 +53,9 @@ describe('Region command', function () {
53
try {
54
await GetRegionCommand.run([]);
55
} catch (error) {
56
- result = error;
+ result = error as Error;
57
}
58
- expect(result.message).to.include('CLI_CONFIG_GET_REGION_NOT_FOUND EEXIT: 1');
+ expect((result as Error).message).to.include('CLI_CONFIG_GET_REGION_NOT_FOUND EEXIT: 1');
59
});
60
61
// Test cases for predefined regions
0 commit comments