diff --git a/dao/persondao.test.js b/dao/persondao.test.js index 8c6b6d634b66fb0e7fe2e351a52e33f00754feac..79f786bff02a1e925f42f400f2d811203a9188d0 100644 --- a/dao/persondao.test.js +++ b/dao/persondao.test.js @@ -22,6 +22,10 @@ beforeAll(done => { }); }); +afterAll(() => { + pool.end(); +}); + test("get one person from db", done => { function callback(status, data) { console.log(