Skip to content

Commit 7c73e5c

Browse files
mkreymanclaude
andcommitted
Fix formatting issues after timezone test changes
Applied Prettier formatting to enhanced-context-operations.test.ts after timezone-related code changes. Quality checks now all passing: ✅ Format: All files use Prettier code style ✅ Lint: No ESLint errors or warnings ✅ TypeCheck: No TypeScript errors ✅ Tests: All 1073 tests passing Proper development workflow: format → lint → typecheck → test 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 83fd69b commit 7c73e5c

File tree

1 file changed

+30
-6
lines changed

1 file changed

+30
-6
lines changed

src/__tests__/integration/enhanced-context-operations.test.ts

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -929,17 +929,41 @@ describe('Enhanced Context Operations Integration Tests', () => {
929929
db.prepare(
930930
`INSERT INTO context_items (id, session_id, key, value, category, priority, created_at)
931931
VALUES (?, ?, ?, ?, ?, ?, ?)`
932-
).run(uuidv4(), testSessionId, 'test_1h_ago', 'One hour ago', 'test', 'normal', oneHourAgo.toISOString());
933-
932+
).run(
933+
uuidv4(),
934+
testSessionId,
935+
'test_1h_ago',
936+
'One hour ago',
937+
'test',
938+
'normal',
939+
oneHourAgo.toISOString()
940+
);
941+
934942
db.prepare(
935943
`INSERT INTO context_items (id, session_id, key, value, category, priority, created_at)
936944
VALUES (?, ?, ?, ?, ?, ?, ?)`
937-
).run(uuidv4(), testSessionId, 'test_2h_ago', 'Two hours ago', 'test', 'normal', twoHoursAgo.toISOString());
938-
945+
).run(
946+
uuidv4(),
947+
testSessionId,
948+
'test_2h_ago',
949+
'Two hours ago',
950+
'test',
951+
'normal',
952+
twoHoursAgo.toISOString()
953+
);
954+
939955
db.prepare(
940956
`INSERT INTO context_items (id, session_id, key, value, category, priority, created_at)
941957
VALUES (?, ?, ?, ?, ?, ?, ?)`
942-
).run(uuidv4(), testSessionId, 'test_5h_ago', 'Five hours ago', 'test', 'normal', fiveHoursAgo.toISOString());
958+
).run(
959+
uuidv4(),
960+
testSessionId,
961+
'test_5h_ago',
962+
'Five hours ago',
963+
'test',
964+
'normal',
965+
fiveHoursAgo.toISOString()
966+
);
943967

944968
// Query for items created 2 hours ago or less
945969
const queryTime = new Date(now.getTime() - 2.1 * 3600000); // 2.1 hours ago to ensure we catch 2 hour old items
@@ -951,7 +975,7 @@ describe('Enhanced Context Operations Integration Tests', () => {
951975
const itemKeys = items.map(i => i.key);
952976

953977
// Should include items created 2 hours ago or less
954-
expect(itemKeys).toContain('test_1h_ago');
978+
expect(itemKeys).toContain('test_1h_ago');
955979
expect(itemKeys).toContain('test_2h_ago');
956980
// Should not include items created more than 2 hours ago
957981
expect(itemKeys).not.toContain('test_5h_ago');

0 commit comments

Comments
 (0)