mirror of
https://github.com/knex/knex.git
synced 2025-12-12 07:20:57 +00:00
More test suite fixes
This commit is contained in:
parent
82685b57f0
commit
a24e4df638
@ -65,7 +65,7 @@
|
||||
"prepublish": "npm run babel",
|
||||
"tape": "node test/tape/index.js | tap-spec",
|
||||
"debug_tape": "node-debug test/tape/index.js",
|
||||
"test": "npm run lint && istanbul --config=test/.istanbul.yml cover node_modules/mocha/bin/_mocha -- --check-leaks -b -R spec test/index.js && npm run tape"
|
||||
"test": "npm run lint && istanbul --config=test/.istanbul.yml cover node_modules/mocha/bin/_mocha -- --check-leaks -t 10000 -b -R spec test/index.js && npm run tape"
|
||||
},
|
||||
"bin": {
|
||||
"knex": "./bin/cli.js"
|
||||
|
||||
@ -3977,7 +3977,7 @@ describe("QueryBuilder", function() {
|
||||
|
||||
it('#1710, properly escapes arrays in where clauses in postgresql', function() {
|
||||
testquery(qb().select('*').from('sometable').where('array_field', '&&', [7]), {
|
||||
postgres: `select * from "sometable" where "array_field" && '{7}'`
|
||||
postgres: "select * from \"sometable\" where \"array_field\" && '{7}'"
|
||||
});
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user