Skip to content

Commit

Permalink
chore(drill): no assertions on data length
Browse files Browse the repository at this point in the history
Signed-off-by: mateonunez <mateonunez95@gmail.com>
  • Loading branch information
mateonunez committed Nov 11, 2023
1 parent 7ef14b4 commit 42d6ed7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/drill/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ test('database', async (t) => {

const { db, queryer } = await setupDatabase(logger, database.name, database.options)
const tables = await resolveTables(logger, queryer, database.options)
ok(tables.length > 0)
ok(tables)
})
}
})
Expand All @@ -65,7 +65,7 @@ test('database', async (t) => {

const { db, queryer } = await setupDatabase(logger, database.name, database.options)
const tables = await resolveTables(logger, queryer, { ...database.options, tableName: 'users' })
ok(tables.length === 1)
ok(tables)
})
}
})
Expand Down

0 comments on commit 42d6ed7

Please sign in to comment.