Skip to content

Commit

Permalink
Merge pull request #707 from dnalagatla/dnalagatla/fix-issue-706
Browse files Browse the repository at this point in the history
Checking if runningTests not defined or set to false
  • Loading branch information
kratiahuja authored Jul 15, 2019
2 parents 88fab39 + e6514a2 commit 1f4a5a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utilities/fastboot-app-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}});",
" }",
"}",
Expand Down

0 comments on commit 1f4a5a2

Please sign in to comment.