11 lines
236 B
TypeScript
11 lines
236 B
TypeScript
export default {
|
|
getDb: jest.fn(() => {
|
|
return {
|
|
runAsync: jest.fn((statement: string, value: string) => {}),
|
|
getFirstAsync: jest.fn((statement: string, value: string) => {
|
|
return [];
|
|
}),
|
|
};
|
|
}),
|
|
};
|