diff --git a/package.json b/package.json index 5423c8c..1392c29 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "debug": "~2.0.0" }, "devDependencies": { - "loopback-datasource-juggler": "1.x.x", + "loopback-datasource-juggler": "^2.15.0", "should": "~1.3.0", "mocha": "~1.20.1", "rc": "~0.4.0" diff --git a/test/persistence-hooks.test.js b/test/persistence-hooks.test.js new file mode 100644 index 0000000..26fe81e --- /dev/null +++ b/test/persistence-hooks.test.js @@ -0,0 +1,4 @@ +var should = require('./init'); +var suite = require('loopback-datasource-juggler/test/persistence-hooks.suite.js'); + +suite(global.getDataSource(), should);