Skip to content

Commit 1f4a5a2

Browse files
authored
Merge pull request #707 from dnalagatla/dnalagatla/fix-issue-706
Checking if runningTests not defined or set to false
2 parents 88fab39 + e6514a2 commit 1f4a5a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/utilities/fastboot-app-module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = function fastbootAppModule(prefix, configAppAsString, isModuleU
1212
return [
1313
"",
1414
"if (typeof FastBoot === 'undefined') {",
15-
" if (typeof runningTests === 'undefined') {",
15+
" if (typeof runningTests === 'undefined' || !runningTests) {",
1616
" require('{{MODULE_PREFIX}}/" + appSuffix + "')['default'].create({{CONFIG_APP}});",
1717
" }",
1818
"}",

0 commit comments

Comments
 (0)