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:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user