Use loopback 2.x in unit tests.
This commit is contained in:
parent
fadfaffe25
commit
927bee82f7
|
@ -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"
|
||||
|
|
|
@ -69,6 +69,9 @@ function createBrowserLikeContext() {
|
|||
debug: process.env.DEBUG
|
||||
},
|
||||
|
||||
// used by DataSource.prototype.ready
|
||||
setTimeout: setTimeout,
|
||||
|
||||
// used by `debug` module
|
||||
document: { documentElement: { style: {} } },
|
||||
|
||||
|
|
Loading…
Reference in New Issue