From 0e9740fc3338f733a42740b7ef5e040fa866ffa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Wed, 28 Jan 2015 14:27:56 +0100 Subject: [PATCH] Include tests of persistence hooks from juggler. --- package.json | 2 +- test/persistence-hooks.test.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 test/persistence-hooks.test.js 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);