diff --git a/packages/testing/src/TestStack.ts b/packages/testing/src/TestStack.ts index 59bb975385..c42c30c7cd 100644 --- a/packages/testing/src/TestStack.ts +++ b/packages/testing/src/TestStack.ts @@ -80,6 +80,8 @@ class TestStack { * Otherwise, we log messages that are either warnings or errors as well as periodic * updates on the stack creation and destruction process. * + * biome-ignore lint/suspicious/useAwait: The CDK interface requires this to be async + * * @param msg - Message to log sent by the CDK CLI */ async notify(msg) { @@ -115,6 +117,7 @@ class TestStack { testConsole.log(msg); } }, + // biome-ignore lint/suspicious/useAwait: The CDK interface requires this to be async async requestResponse(msg) { if ( process.env.RUNNER_DEBUG === '1' || diff --git a/packages/testing/src/setupEnv.ts b/packages/testing/src/setupEnv.ts index 7363a80828..4960f75795 100644 --- a/packages/testing/src/setupEnv.ts +++ b/packages/testing/src/setupEnv.ts @@ -228,7 +228,7 @@ expect.addEqualityTesters([ // or this.equals(a.message, b.message) return this.equals(a.issues, b.issues); } - return aOk !== bOk ? false : undefined; + return aOk === bOk ? undefined : false; }, ]); diff --git a/packages/testing/src/xray-traces-utils.ts b/packages/testing/src/xray-traces-utils.ts index df1071e12d..b6115b3b88 100644 --- a/packages/testing/src/xray-traces-utils.ts +++ b/packages/testing/src/xray-traces-utils.ts @@ -16,7 +16,7 @@ import type { const retryOptions = { retries: 20, - minTimeout: 5_000, + minTimeout: 5000, maxTimeout: 10_000, factor: 1.25, };