diff --git a/package.json b/package.json index 0fe13c51..19608b51 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/test/unit/query/builder.js b/test/unit/query/builder.js index 95ede4db..149dd903 100644 --- a/test/unit/query/builder.js +++ b/test/unit/query/builder.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}'" }); })