Use loopback 2.x in unit tests.

This commit is contained in:
Miroslav Bajtoš 2014-10-21 09:38:25 +02:00
parent fadfaffe25
commit 927bee82f7
2 changed files with 4 additions and 1 deletions

View File

@ -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"

View File

@ -69,6 +69,9 @@ function createBrowserLikeContext() {
debug: process.env.DEBUG
},
// used by DataSource.prototype.ready
setTimeout: setTimeout,
// used by `debug` module
document: { documentElement: { style: {} } },