From e6514a29e6ee8d273b99d22b8d08b1b870263a07 Mon Sep 17 00:00:00 2001 From: Dinesh Nalagatla Date: Fri, 12 Jul 2019 17:52:20 -0700 Subject: [PATCH] Checking if runningTests not defined or set to false. In embroider build runningTests is not defined where as in ember-cli build it is set to false --- lib/utilities/fastboot-app-module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utilities/fastboot-app-module.js b/lib/utilities/fastboot-app-module.js index aa404a3c4..9f1c5d58f 100644 --- a/lib/utilities/fastboot-app-module.js +++ b/lib/utilities/fastboot-app-module.js @@ -12,7 +12,7 @@ module.exports = function fastbootAppModule(prefix, configAppAsString, isModuleU return [ "", "if (typeof FastBoot === 'undefined') {", - " if (typeof runningTests === 'undefined') {", + " if (typeof runningTests === 'undefined' || !runningTests) {", " require('{{MODULE_PREFIX}}/" + appSuffix + "')['default'].create({{CONFIG_APP}});", " }", "}",