From 94c3148eaaf06639539eb9d102bf7e68a2f4b95c Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Wed, 18 Feb 2015 15:33:05 +0000 Subject: [PATCH] fix unit test --- scripts/makestatic.js | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/scripts/makestatic.js b/scripts/makestatic.js index c3d5344d..ea4370c1 100755 --- a/scripts/makestatic.js +++ b/scripts/makestatic.js @@ -67,18 +67,24 @@ function main(config, settings, options, callback) { compress: options.compress, virtual: options.virtual }) - .concat({ - consumes: [], - provides: ["cdn.build", "db"], - setup: function(options, imports, register) { - register(null, { "cdn.build": {}, "db": {} }); - } - }) .filter(function(p) { var path = p.packagePath; return !path || path.indexOf("c9.db.redis/redis") == -1 && path.indexOf("c9.static/build") == -1 && path.indexOf("c9.api/health") == -1; + }) + .concat({ + consumes: [], + provides: ["cdn.build", "db", "health"], + setup: function(options, imports, register) { + register(null, { + "cdn.build": {}, + "db": {}, + "health": { + addCheck: function() {} + } + }); + } });