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:
@@ -89,4 +89,10 @@ describe('DatabaseConnectionPool', () => {
|
||||
|
||||
expect(() => dbp.runQuery(sql, params)).toThrow();
|
||||
});
|
||||
|
||||
test('Getter for pool exists', () => {
|
||||
const dbp = new DatabaseConnectionPool();
|
||||
|
||||
expect(dbp.pool).toBeTrue();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user