diff --git a/package.json b/package.json index 779f7d2..969053b 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "browserify": "^4.1.8", "fs-extra": "^0.10.0", "jshint": "^2.5.6", - "loopback": "^1.5.0", + "loopback": "^2.5.0", "mocha": "^1.19.0", "must": "^0.12.0", "supertest": "^0.13.0" diff --git a/test/browser.test.js b/test/browser.test.js index 869b451..d8e5019 100644 --- a/test/browser.test.js +++ b/test/browser.test.js @@ -69,6 +69,9 @@ function createBrowserLikeContext() { debug: process.env.DEBUG }, + // used by DataSource.prototype.ready + setTimeout: setTimeout, + // used by `debug` module document: { documentElement: { style: {} } },