1
0
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:
2022-01-23 23:14:55 +00:00
parent 1212358e92
commit d630af88f9
4 changed files with 17 additions and 1 deletions

View File

@@ -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();
});
});