Skip to content

Commit 1826212

Browse files
Update packages/oauth/src/state-stores/spec-utils.ts
Co-authored-by: Michael Brooks <mbrooks@slack-corp.com>
1 parent c678ba1 commit 1826212

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/oauth/src/state-stores/spec-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class StateStoreChaiTestRunner {
6161
}
6262
const state = await stateStore.generateStateParam(installUrlOptions, new Date());
6363

64-
// NOTE: wait 0.5 second to ensure IO operations completed
64+
// Wait 0.5 second to ensure I/O is complete and avoid flaky test results from rapid I/O
6565
await new Promise((resolve, _) => setTimeout(resolve, 500));
6666
console.log('\tsetTimeout: complete');
6767

0 commit comments

Comments
 (0)