Skip to content

Commit

Permalink
test(component): fix references to missing types upon compiling in te…
Browse files Browse the repository at this point in the history
…sts (#951)

Knex methods orHavingNull and orHavingNotNull don't have type definitions so don't reference the
methods directly
  • Loading branch information
pokedpeter committed Sep 22, 2023
1 parent c5a9f51 commit 62ae085
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/database/query-builder.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7101,7 +7101,7 @@ test.group('Query Builder | havingNull', (group) => {
const { sql: knexSql, bindings: knexBindings } = connection
.client!.from('users')
['havingNull']('deleted_at')
.orHavingNull('updated_at')
['orHavingNull']('updated_at')
.toSQL()

assert.equal(sql, knexSql)
Expand All @@ -7119,7 +7119,7 @@ test.group('Query Builder | havingNull', (group) => {
const { sql: knexResolverSql, bindings: knexResolverBindings } = connection
.client!.from('users')
['havingNull']('my_deleted_at')
.orHavingNull('my_updated_at')
['orHavingNull']('my_updated_at')
.toSQL()

assert.equal(resolverSql, knexResolverSql)
Expand Down Expand Up @@ -7193,7 +7193,7 @@ test.group('Query Builder | havingNotNull', (group) => {
const { sql: knexSql, bindings: knexBindings } = connection
.client!.from('users')
['havingNotNull']('deleted_at')
.orHavingNotNull('updated_at')
['orHavingNotNull']('updated_at')
.toSQL()

assert.equal(sql, knexSql)
Expand All @@ -7211,7 +7211,7 @@ test.group('Query Builder | havingNotNull', (group) => {
const { sql: knexResolverSql, bindings: knexResolverBindings } = connection
.client!.from('users')
['havingNotNull']('my_deleted_at')
.orHavingNotNull('my_updated_at')
['orHavingNotNull']('my_updated_at')
.toSQL()

assert.equal(resolverSql, knexResolverSql)
Expand Down

0 comments on commit 62ae085

Please sign in to comment.