chore(lint): burn down remaining warnings to zero

This commit is contained in:
William Valentin
2026-02-15 23:14:21 -08:00
parent 49b752e8b0
commit 948d4ac6d8
67 changed files with 235 additions and 256 deletions
+6 -2
View File
@@ -34,8 +34,12 @@ describe('SessionStore', () => {
expect(messages[0].role).toBe('user');
expect(messages[0].content).toBe('Hello');
expect(messages[0].timestamp).toBeTypeOf('number');
expect(messages[0].timestamp!).toBeGreaterThanOrEqual(before - 1000);
expect(messages[0].timestamp!).toBeLessThanOrEqual(after + 1000);
const timestamp = messages[0].timestamp;
if (typeof timestamp !== 'number') {
throw new Error('Expected numeric timestamp');
}
expect(timestamp).toBeGreaterThanOrEqual(before - 1000);
expect(timestamp).toBeLessThanOrEqual(after + 1000);
expect(messages[1].role).toBe('assistant');
expect(messages[1].content).toBe('Hi there!');
expect(messages[1].timestamp).toBeTypeOf('number');