Skip to content

Commit 7442de2

Browse files
committed
*tests
1 parent 2971ab7 commit 7442de2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ server.on('connection', conn => {
5959
const db = mysql.connect()
6060
db.q('SELECT * FROM test_table').then(res => console.dir)
6161
db.q('SELECT * FROM test_table', {}, true).then((res) => {
62-
db.q('SELECT * FROM test_table', {}, true)
62+
db.q('SELECT * FROM test_table', {}, true).then((res) => {
63+
process.exit(0)
64+
})
6365
console.dir(res)
64-
process.exit()
6566
})

0 commit comments

Comments
 (0)