Skip to content

Commit

Permalink
Update test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
johndatserakis authored Dec 1, 2017
1 parent 0d783b3 commit 23c5918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ beforeAll(async () => {
afterAll(async () => {
//After all the tests are done we're going to close our server
//and rollback our database.
// await db.migrate.rollback()
await db.migrate.rollback()

//This closes the app but it doesn't stop the tests in
//Jest when done - that's why we have to --forceExit
Expand Down Expand Up @@ -220,4 +220,4 @@ describe('note actions', () => {
const response = await request.delete('/api/v1/notes/' + '1')
expect(response.status).toBe(200)
})
})
})

0 comments on commit 23c5918

Please sign in to comment.