Test fixes

This commit is contained in:
Jori Lallo
2016-09-11 12:09:45 -07:00
parent 458735f341
commit 1b14152291
3 changed files with 4 additions and 3 deletions

View File

@ -7,8 +7,8 @@ import { flushdb, seed, sequelize } from '../test/support';
const server = new TestServer(app.callback());
beforeEach(flushdb);
beforeEach(seed);
afterEach(flushdb);
afterAll(() => server.close());
afterAll(() => sequelize.close());