mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 19:59:27 +00:00
Added method to expose the mysql2 database connection
This commit is contained in:
@@ -55,7 +55,8 @@ jest.mock('./DatabaseConnectionPool', () => {
|
||||
return jest.fn().mockImplementation(() => {
|
||||
return {
|
||||
runQuery: mockRunQuery,
|
||||
close: mockClose
|
||||
close: mockClose,
|
||||
pool: true
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user