Merge pull request #1044 from strongloop/fix/kvao-promise
test/kvao: setup global.Promise on Node v0.10 [2.x only]
This commit is contained in:
commit
df4a3643eb
|
@ -4,6 +4,9 @@ var debug = require('debug')('test');
|
||||||
var fs = require('fs');
|
var fs = require('fs');
|
||||||
var path = require('path');
|
var path = require('path');
|
||||||
|
|
||||||
|
if (!global.Promise)
|
||||||
|
global.Promise = require('bluebird');
|
||||||
|
|
||||||
module.exports = function(dataSourceFactory, connectorCapabilities) {
|
module.exports = function(dataSourceFactory, connectorCapabilities) {
|
||||||
describe('KeyValue API', function loadAllTestFiles() {
|
describe('KeyValue API', function loadAllTestFiles() {
|
||||||
var testRoot = path.resolve(__dirname, 'kvao');
|
var testRoot = path.resolve(__dirname, 'kvao');
|
||||||
|
|
Loading…
Reference in New Issue