From cf4393470881ed73a72bbb533aa15cacd247c09b Mon Sep 17 00:00:00 2001 From: Tommaso Casaburi Date: Mon, 8 Jun 2026 18:58:20 +0700 Subject: [PATCH] test(flags): correct stale pony AJ sprite x-coord expectation (#1163) The pony sprite-coordinate remap (cbdd4edf7) moved AJ to x:48 and updated board-flags.test.ts, but comment-flags.test.ts still expected the old x:80, leaving master's full test suite red. Align the comment-flags expectation with the live board-flags definition (and the passing board-flags.test.ts). --- src/lib/__tests__/comment-flags.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/__tests__/comment-flags.test.ts b/src/lib/__tests__/comment-flags.test.ts index 8598d496..b9b205a4 100644 --- a/src/lib/__tests__/comment-flags.test.ts +++ b/src/lib/__tests__/comment-flags.test.ts @@ -22,7 +22,7 @@ describe('comment-flags', () => { expect(flags.map((flag) => flag.key)).toEqual(['country:de', 'pol:AC', 'pony:AJ']); expect(flags[1]).toMatchObject({ label: 'Anarcho-Capitalist', x: 0, y: 0 }); - expect(flags[2]).toMatchObject({ label: 'Applejack', x: 80, y: 0 }); + expect(flags[2]).toMatchObject({ label: 'Applejack', x: 48, y: 0 }); }); it('labels the xx country flag as Tor traffic', () => {