1
0
Fork 0
mirror of synced 2024-07-11 09:15:48 +12:00
budibase/packages/server/__mocks__/mysql2.ts
2024-03-19 16:50:48 +00:00

12 lines
183 B
TypeScript

const client = {
connect: jest.fn(),
query: jest.fn((query, bindings, fn) => {
fn(null, [])
}),
}
module.exports = {
createConnection: jest.fn(() => client),
client,
}