We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 88fab39 + e6514a2 commit 1f4a5a2Copy full SHA for 1f4a5a2
1 file changed
lib/utilities/fastboot-app-module.js
@@ -12,7 +12,7 @@ module.exports = function fastbootAppModule(prefix, configAppAsString, isModuleU
12
return [
13
"",
14
"if (typeof FastBoot === 'undefined') {",
15
- " if (typeof runningTests === 'undefined') {",
+ " if (typeof runningTests === 'undefined' || !runningTests) {",
16
" require('{{MODULE_PREFIX}}/" + appSuffix + "')['default'].create({{CONFIG_APP}});",
17
" }",
18
"}",
0 commit comments