Replace void with expect().toBeDefined() for getter side-effect access (S3735)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-10 09:30:45 +08:00
parent af69b6695c
commit ced1ff617a
2 changed files with 3 additions and 3 deletions

View File

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