mirror of https://github.com/Fabio286/antares.git
fix: unhandled exception in connection test
This commit is contained in:
parent
a0a025e450
commit
a975df38dd
|
@ -29,9 +29,8 @@ export default connections => {
|
|||
params
|
||||
});
|
||||
|
||||
await connection.connect();
|
||||
|
||||
try {
|
||||
await connection.connect();
|
||||
await connection.select('1+1').run();
|
||||
connection.destroy();
|
||||
|
||||
|
|
Loading…
Reference in New Issue