2025-03-11 07:26:49 -07:00

12 lines
319 B
TypeScript

export default {
getDb: jest.fn(() => {
return {
runAsync: jest.fn((statement: string, ... values: string []) => {}),
runSync: jest.fn((statement: string, ... values : string []) => {}),
getFirstAsync: jest.fn((statement: string, value: string) => {
return [];
}),
};
}),
};