Skip to content

Commit 9ef5bc1

Browse files
tkirda-bisonclaude
andcommitted
style(test): apply prettier to preventBadQueries rewrite
Cosmetic-only; the rewrite in 592db81 used a two-line wrap that Prettier flattens to one line at 100 cols, which CI's `format:check` caught. No behavior change. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d67ae20 commit 9ef5bc1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/autocomplete.test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,7 @@ describe("Autocomplete Async — preventBadQueries", () => {
324324
// query attempt — ajax-succeeded, ajax-failed, AND bad-query-short-
325325
// circuit — so it's a single deterministic synchronisation point.
326326
const searchResolvers = [];
327-
const nextSearchComplete = () =>
328-
new Promise((resolve) => searchResolvers.push(resolve));
327+
const nextSearchComplete = () => new Promise((resolve) => searchResolvers.push(resolve));
329328

330329
$.mockjax({
331330
url: serviceUrl,

0 commit comments

Comments
 (0)