fix(insomnia-test): remove conditional from key-value blank row spec

Check blankness with every() instead of a boolean expression flagged by playwright/no-conditional-in-test.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Bob QiuandClaude Sonnet 5.5 committed 2026-11-04 17:32:30 +08:00
1 parent 86b3953a78
commit 2ef62e5af4
1 file changed
+1 -1
@@ -38,7 +38,7 @@ test("Verify Trailing Blank Row In Headers And Params Is Not Persisted Until Typ
const paramsAfter = await httpRequestPage.getParams();
const isBlank = (pair: { name: string; value: string }) =>
pair.name === "" && pair.value === "";
[pair.name, pair.value].every((text) => text === "");
expect(request).toBeDefined();
expect(headersBefore.some(isBlank)).toBe(false);