Skip to content
Snippets Groups Projects
Commit 006d767c authored by nilstes's avatar nilstes
Browse files

Avslutter pool i test

parent e0f3ac45
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,10 @@ beforeAll(done => { ...@@ -22,6 +22,10 @@ beforeAll(done => {
}); });
}); });
afterAll(() => {
pool.end();
});
test("get one person from db", done => { test("get one person from db", done => {
function callback(status, data) { function callback(status, data) {
console.log( console.log(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment