From dca5741e66988762995e9ca9dd8721ebbb85f59c Mon Sep 17 00:00:00 2001 From: Naomi Seyfer Date: Fri, 1 Mar 2013 08:30:10 -0800 Subject: [PATCH] Test if platform is empty not null to give it the local platform --- packages/test-in-phantom/driver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/test-in-phantom/driver.js b/packages/test-in-phantom/driver.js index c67b1e569d..99455d40bc 100644 --- a/packages/test-in-phantom/driver.js +++ b/packages/test-in-phantom/driver.js @@ -28,7 +28,7 @@ if (Meteor.settings && var hrefPath = document.location.href.split("/"); var platform = hrefPath.length && hrefPath[hrefPath.length - 1]; -if (!platform) +if (_.isEmpty(platform)) platform = "local"; console.log("URL", url); var report = function (name, last) {