Skip to content

Commit e44f3e7

Browse files
authored
style(testing): apply stricter linting (#4566)
1 parent 7e9bb9c commit e44f3e7

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

packages/testing/src/TestStack.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ class TestStack {
8080
* Otherwise, we log messages that are either warnings or errors as well as periodic
8181
* updates on the stack creation and destruction process.
8282
*
83+
* biome-ignore lint/suspicious/useAwait: The CDK interface requires this to be async
84+
*
8385
* @param msg - Message to log sent by the CDK CLI
8486
*/
8587
async notify(msg) {
@@ -115,6 +117,7 @@ class TestStack {
115117
testConsole.log(msg);
116118
}
117119
},
120+
// biome-ignore lint/suspicious/useAwait: The CDK interface requires this to be async
118121
async requestResponse(msg) {
119122
if (
120123
process.env.RUNNER_DEBUG === '1' ||

packages/testing/src/setupEnv.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ expect.addEqualityTesters([
228228
// or this.equals(a.message, b.message)
229229
return this.equals(a.issues, b.issues);
230230
}
231-
return aOk !== bOk ? false : undefined;
231+
return aOk === bOk ? undefined : false;
232232
},
233233
]);
234234

packages/testing/src/xray-traces-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import type {
1616

1717
const retryOptions = {
1818
retries: 20,
19-
minTimeout: 5_000,
19+
minTimeout: 5000,
2020
maxTimeout: 10_000,
2121
factor: 1.25,
2222
};

0 commit comments

Comments
 (0)