This commit is contained in:
Tom Moor
2017-07-15 16:08:12 -07:00
parent 0caff8c393
commit 66e4995885
8 changed files with 15 additions and 12 deletions

View File

@ -3,12 +3,12 @@ import TestServer from 'fetch-test-server';
import app from '..';
import { User } from '../models';
import { flushdb, seed, sequelize } from '../test/support';
import { flushdb, seed } from '../test/support';
const server = new TestServer(app.callback());
beforeEach(flushdb);
afterAll(() => server.close());
afterAll(server.close);
describe('#user.info', async () => {
it('should return known user', async () => {