From 0751ff1c2ef8e2230996b9e7f00cf5e723e53168 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Mon, 9 Mar 2026 00:04:18 +0800 Subject: [PATCH] Format custom API test assertion Reformat a Prettier-mismatched assertion in the custom API unit tests. This assertion was introduced in 65decab (#934) without matching the repository's current Prettier output, so this commit brings the file back in line with the existing formatting rules. --- tests/unit/services/apis/custom-api.test.mjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/unit/services/apis/custom-api.test.mjs b/tests/unit/services/apis/custom-api.test.mjs index 8ca6b78c..8f8dea84 100644 --- a/tests/unit/services/apis/custom-api.test.mjs +++ b/tests/unit/services/apis/custom-api.test.mjs @@ -151,7 +151,10 @@ test('ignores null message.content to avoid null-prefixed answers', async (t) => ) const partialAnswers = port.postedMessages.filter((m) => m.done === false).map((m) => m.answer) - assert.equal(partialAnswers.some((a) => a === null), false) + assert.equal( + partialAnswers.some((a) => a === null), + false, + ) assert.equal( partialAnswers.some((a) => typeof a === 'string' && a.startsWith('null')), false,