Skip to content

Commit

Permalink
fix(tests): fix error in deletion tests (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
citycide authored Sep 17, 2016
1 parent 78713a4 commit 85160d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/deletions.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ test.serial('removes a row from the specified table', async t => {
test.serial('removes all rows from the specified table', async t => {
await db.del('people')

morePeople.forEach(async person => {
const res = await db.first('people', { name: person })
morePeople.forEach(async ({ name }) => {
const res = await db.first('people', { name })
t.falsy(res)
})
})

0 comments on commit 85160d8

Please sign in to comment.