Skip to content

Commit d8b4ba7

Browse files
committed
Use juggler@3 for running tests
1 parent 469384e commit d8b4ba7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/postgresql.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ function PostgreSQL(postgresql, settings) {
7575
// pg-pool doesn't handle string config correctly
7676
this.clientConfig = {
7777
connectionString: settings.url,
78+
Promise: require('bluebird')
7879
};
7980
} else {
8081
this.clientConfig = settings;

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@
1818
},
1919
"dependencies": {
2020
"async": "^0.9.0",
21+
"bluebird": "^3.4.6",
2122
"debug": "^2.1.1",
2223
"loopback-connector": "^2.1.0",
2324
"pg": "^6.0.0",
2425
"strong-globalize": "^2.6.2"
2526
},
2627
"devDependencies": {
27-
"bluebird": "^2.9.12",
2828
"eslint": "^2.13.1",
2929
"eslint-config-loopback": "^4.0.0",
30-
"loopback-datasource-juggler": "^2.28.0",
30+
"loopback-datasource-juggler": "^3.0.0-alpha.8",
3131
"mocha": "^2.1.0",
3232
"rc": "^1.0.0",
3333
"should": "^8.0.2",

0 commit comments

Comments
 (0)