Skip to content

Commit

Permalink
fix: ending tests properly
Browse files Browse the repository at this point in the history
  • Loading branch information
amychisholm03 committed Aug 27, 2024
1 parent 96fed49 commit 99338dc
Show file tree
Hide file tree
Showing 3 changed files with 161 additions and 114 deletions.
4 changes: 2 additions & 2 deletions test/unit/db/query-parsers/sql.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ test('database query parser', async (t) => {
})

if (cat.table === '(subquery)') {
await t.test('should parse subquery collections as ' + cat.table)
t.todo('should parse subquery collections as ' + cat.table)
} else if (/\w+\.\w+/.test(ps.collection)) {
await t.test('should strip database names from collection names as ' + cat.table)
t.todo('should strip database names from collection names as ' + cat.table)
} else {
await t.test('should parse the collection as ' + cat.table, function () {
assert.equal(ps.collection, cat.table)
Expand Down
Loading

0 comments on commit 99338dc

Please sign in to comment.