Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Jul 16, 2020
1 parent 464b494 commit 6d8238f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/packages/client/src/__tests__/runtime-tests/blog/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ module.exports = async () => {

assert.equal(posts.length, 0)
db.disconnect()
assert(requests.length === 1)
assert.equal(requests.length, 2)

await db.user.findMany()
db.disconnect()
assert(requests.length === 2)
assert.equal(requests.length, 3)

const count = await db.user.count()
assert(typeof count === 'number')
Expand Down

0 comments on commit 6d8238f

Please sign in to comment.