Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed Nov 13, 2021
1 parent b49807f commit eddd4a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/QueryBuilder.test.ts
Expand Up @@ -431,7 +431,7 @@ describe('QueryBuilder', () => {
filter.meta = { foo: 'bar' };
qb1.select('*').where(filter);
expect(qb1.getQuery()).toEqual('select `e0`.*, `e0`.price * 1.19 as `price_taxed` from `book2` as `e0` where `meta`->\'$.foo\' = ?');
expect(qb1.getParams()).toEqual('bar');
expect(qb1.getParams()).toEqual(['bar']);
});

test('select by regexp', async () => {
Expand Down

0 comments on commit eddd4a1

Please sign in to comment.