Merge pull request #71 from strongloop/feature/run-hook-tests
Include tests of persistence hooks from juggler.
This commit is contained in:
commit
6988e1bdea
|
@ -13,7 +13,7 @@
|
||||||
"debug": "~2.0.0"
|
"debug": "~2.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"loopback-datasource-juggler": "1.x.x",
|
"loopback-datasource-juggler": "^2.15.0",
|
||||||
"should": "~1.3.0",
|
"should": "~1.3.0",
|
||||||
"mocha": "~1.20.1",
|
"mocha": "~1.20.1",
|
||||||
"rc": "~0.4.0"
|
"rc": "~0.4.0"
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
var should = require('./init');
|
||||||
|
var suite = require('loopback-datasource-juggler/test/persistence-hooks.suite.js');
|
||||||
|
|
||||||
|
suite(global.getDataSource(), should);
|
Loading…
Reference in New Issue