We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9488ffd commit 866c367Copy full SHA for 866c367
packages/compass-smoke-tests/src/build-info.ts
@@ -38,10 +38,10 @@ export function assertCommonBuildInfo(
38
): asserts buildInfo is CommonBuildInfo {
39
assertObjectHasKeys(buildInfo, 'buildInfo', commonKeys);
40
assert(
41
- SUPPORTED_CHANNELS.includes((buildInfo as any).channel),
42
- `Expected ${(buildInfo as any).channel} to be in ${SUPPORTED_CHANNELS.join(
43
- ','
44
- )}`
+ SUPPORTED_CHANNELS.includes((buildInfo as { channel: Channel }).channel),
+ `Expected ${
+ (buildInfo as { channel: Channel }).channel
+ } to be in ${SUPPORTED_CHANNELS.join(',')}`
45
);
46
}
47
0 commit comments