diff options
Diffstat (limited to 'spec/frontend/sentry/sentry_config_spec.js')
-rw-r--r-- | spec/frontend/sentry/sentry_config_spec.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/frontend/sentry/sentry_config_spec.js b/spec/frontend/sentry/sentry_config_spec.js index 44acbee9b38..34c5221ef0d 100644 --- a/spec/frontend/sentry/sentry_config_spec.js +++ b/spec/frontend/sentry/sentry_config_spec.js @@ -1,5 +1,4 @@ import * as Sentry from 'sentrybrowser7'; -import { IGNORE_ERRORS, DENY_URLS, SAMPLE_RATE } from '~/sentry/constants'; import SentryConfig from '~/sentry/sentry_config'; @@ -62,11 +61,8 @@ describe('SentryConfig', () => { expect(Sentry.init).toHaveBeenCalledWith({ dsn: options.dsn, release: options.release, - sampleRate: SAMPLE_RATE, allowUrls: options.allowUrls, environment: options.environment, - ignoreErrors: IGNORE_ERRORS, - denyUrls: DENY_URLS, }); }); @@ -82,11 +78,8 @@ describe('SentryConfig', () => { expect(Sentry.init).toHaveBeenCalledWith({ dsn: options.dsn, release: options.release, - sampleRate: SAMPLE_RATE, allowUrls: options.allowUrls, environment: 'development', - ignoreErrors: IGNORE_ERRORS, - denyUrls: DENY_URLS, }); }); }); |