feat: implement pbUpsert helper for streamlined database operations and update related functions
This commit is contained in:
@@ -19,7 +19,10 @@ vi.mock('../db', () => ({
|
||||
getCurriculum: vi.fn(),
|
||||
}));
|
||||
|
||||
vi.mock('../llm', () => ({ callLLM: (...args) => callLLMMock(...args) }));
|
||||
vi.mock('../llm', () => ({
|
||||
callLLM: (...args) => callLLMMock(...args),
|
||||
cachedSystem: (text) => [{ type: 'text', text }],
|
||||
}));
|
||||
vi.mock('../curriculumService', () => ({
|
||||
getCurriculumTopic: vi.fn(async () => ({ topic: null })),
|
||||
getQuarterForWeek: vi.fn(() => 1),
|
||||
|
||||
Reference in New Issue
Block a user