diff --git a/.travis.yml b/.travis.yml index 28db47859..6322a722d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,6 @@ language: node_js node_js: - 0.10 - 0.8 - - 0.6 before_script: - psql -c 'create database knex_test;' -U postgres diff --git a/test/index.js b/test/index.js index fcc9d2a4e..264517993 100644 --- a/test/index.js +++ b/test/index.js @@ -1,7 +1,5 @@ // Helps with error handling on errors swallowed by promises. -var mocha = require('mocha'); - -require("mocha-as-promised")(mocha); +require("mocha-as-promised")(); global.sinon = require("sinon");