From 188fb10c96cc17b3dd945648fcc4733fd38595a4 Mon Sep 17 00:00:00 2001 From: Simon Ho Date: Wed, 11 Jan 2017 19:35:37 -0800 Subject: [PATCH] Add missing return in KVAO keys test suite --- test/kvao/keys.suite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/kvao/keys.suite.js b/test/kvao/keys.suite.js index 689c287b..4b2ca7c2 100644 --- a/test/kvao/keys.suite.js +++ b/test/kvao/keys.suite.js @@ -45,7 +45,7 @@ module.exports = function(dataSourceFactory, connectorCapabilities) { it('returns keys of the given model only', function() { let AnotherModel; - helpers.givenModel(dataSourceFactory, 'AnotherModel') + return helpers.givenModel(dataSourceFactory, 'AnotherModel') .then(ModelCtor => AnotherModel = ModelCtor) .then(() => helpers.givenKeys(CacheItem, ['key1', 'key2'])) .then(() => helpers.givenKeys(AnotherModel, ['otherKey1', 'otherKey2']))