From 7bec91c8d8dc67ffa584eb827dbba0309698602b Mon Sep 17 00:00:00 2001 From: Alex Knight <15041791+amknight@users.noreply.github.com> Date: Mon, 22 Jun 2026 14:45:49 +1000 Subject: [PATCH] fix(mattermost): block-bodied promise executor in participation test (oxlint) --- .../mattermost/src/mattermost/thread-participation.test.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/extensions/mattermost/src/mattermost/thread-participation.test.ts b/extensions/mattermost/src/mattermost/thread-participation.test.ts index 1032b035330..bacae272b3d 100644 --- a/extensions/mattermost/src/mattermost/thread-participation.test.ts +++ b/extensions/mattermost/src/mattermost/thread-participation.test.ts @@ -15,7 +15,10 @@ import { // Drain microtasks + the immediate queue so the fire-and-forget persistent write // in recordMattermostThreadParticipation has settled before we assert on it. -const flush = (): Promise => new Promise((resolve) => setImmediate(resolve)); +const flush = (): Promise => + new Promise((resolve) => { + setImmediate(resolve); + }); function setRuntime(openKeyedStore: (options: OpenKeyedStoreOptions) => unknown): void { setMattermostRuntime({