Use void operator for getter side-effect access in tests (S1481)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-10 09:11:19 +08:00
parent 289d4213e2
commit dcb497d64b
2 changed files with 2 additions and 2 deletions

View File

@@ -204,7 +204,7 @@ describe("conformanceStore", () => {
attributes: [],
},
];
const _accessed = store.cases;
void store.cases;
// Original state should still contain the ISO date
expect(store.allCases[0].started_at).toBe(originalDate);
});