diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-05-05 17:55:55 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-05-05 17:59:03 +0300 |
commit | e5a7ed3ac36aaa1045353e589dae98a29ca72f1e (patch) | |
tree | cbcc99d6d2bff548f739e9e196b0001fed8dc878 /spec/javascripts/raven/index_spec.js | |
parent | 12fbce2eacdfbbc9bca7f7eaca6e5679ee1aaffd (diff) |
Review changes
Diffstat (limited to 'spec/javascripts/raven/index_spec.js')
-rw-r--r-- | spec/javascripts/raven/index_spec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/javascripts/raven/index_spec.js b/spec/javascripts/raven/index_spec.js index 85ec1de4e4e..b5662cd0331 100644 --- a/spec/javascripts/raven/index_spec.js +++ b/spec/javascripts/raven/index_spec.js @@ -18,9 +18,10 @@ describe('RavenConfig options', () => { sentry_dsn: sentryDsn, current_user_id: currentUserId, gitlab_url: gitlabUrl, - is_production: isProduction, }; + process.env.NODE_ENV = isProduction; + spyOn(RavenConfig, 'init'); indexReturnValue = index(); |