diff options
Diffstat (limited to 'spec/frontend/issues')
3 files changed, 6 insertions, 6 deletions
diff --git a/spec/frontend/issues/dashboard/components/issues_dashboard_app_spec.js b/spec/frontend/issues/dashboard/components/issues_dashboard_app_spec.js index f6c9fab76d1..35699568793 100644 --- a/spec/frontend/issues/dashboard/components/issues_dashboard_app_spec.js +++ b/spec/frontend/issues/dashboard/components/issues_dashboard_app_spec.js @@ -1,9 +1,9 @@ import { GlDisclosureDropdown, GlEmptyState } from '@gitlab/ui'; -import * as Sentry from '@sentry/browser'; import AxiosMockAdapter from 'axios-mock-adapter'; import Vue, { nextTick } from 'vue'; import VueApollo from 'vue-apollo'; import { cloneDeep } from 'lodash'; +import * as Sentry from '~/sentry/sentry_browser_wrapper'; import getIssuesQuery from 'ee_else_ce/issues/dashboard/queries/get_issues.query.graphql'; import IssueCardStatistics from 'ee_else_ce/issues/list/components/issue_card_statistics.vue'; import IssueCardTimeInfo from 'ee_else_ce/issues/list/components/issue_card_time_info.vue'; @@ -45,7 +45,7 @@ import { issuesQueryResponse, } from '../mock_data'; -jest.mock('@sentry/browser'); +jest.mock('~/sentry/sentry_browser_wrapper'); jest.mock('~/lib/utils/scroll_utils', () => ({ scrollUp: jest.fn() })); describe('IssuesDashboardApp component', () => { diff --git a/spec/frontend/issues/list/components/issues_list_app_spec.js b/spec/frontend/issues/list/components/issues_list_app_spec.js index f830168ce5d..6bd952cd215 100644 --- a/spec/frontend/issues/list/components/issues_list_app_spec.js +++ b/spec/frontend/issues/list/components/issues_list_app_spec.js @@ -1,11 +1,11 @@ import { GlButton, GlDisclosureDropdown, GlDrawer } from '@gitlab/ui'; -import * as Sentry from '@sentry/browser'; import { mount, shallowMount } from '@vue/test-utils'; import AxiosMockAdapter from 'axios-mock-adapter'; import { cloneDeep } from 'lodash'; import Vue, { nextTick } from 'vue'; import VueApollo from 'vue-apollo'; import VueRouter from 'vue-router'; +import * as Sentry from '~/sentry/sentry_browser_wrapper'; import getIssuesQuery from 'ee_else_ce/issues/list/queries/get_issues.query.graphql'; import getIssuesCountsQuery from 'ee_else_ce/issues/list/queries/get_issues_counts.query.graphql'; import createMockApollo from 'helpers/mock_apollo_helper'; @@ -87,7 +87,7 @@ import { import('~/issuable'); import('~/users_select'); -jest.mock('@sentry/browser'); +jest.mock('~/sentry/sentry_browser_wrapper'); jest.mock('~/alert'); jest.mock('~/lib/utils/scroll_utils', () => ({ scrollUp: jest.fn() })); diff --git a/spec/frontend/issues/service_desk/components/service_desk_list_app_spec.js b/spec/frontend/issues/service_desk/components/service_desk_list_app_spec.js index d28b4f2fe76..bb388cefa95 100644 --- a/spec/frontend/issues/service_desk/components/service_desk_list_app_spec.js +++ b/spec/frontend/issues/service_desk/components/service_desk_list_app_spec.js @@ -3,8 +3,8 @@ import Vue, { nextTick } from 'vue'; import VueApollo from 'vue-apollo'; import { cloneDeep } from 'lodash'; import VueRouter from 'vue-router'; -import * as Sentry from '@sentry/browser'; import AxiosMockAdapter from 'axios-mock-adapter'; +import * as Sentry from '~/sentry/sentry_browser_wrapper'; import axios from '~/lib/utils/axios_utils'; import createMockApollo from 'helpers/mock_apollo_helper'; import setWindowLocation from 'helpers/set_window_location_helper'; @@ -55,7 +55,7 @@ import { locationSearch, } from '../mock_data'; -jest.mock('@sentry/browser'); +jest.mock('~/sentry/sentry_browser_wrapper'); jest.mock('~/alert'); jest.mock('~/lib/utils/scroll_utils', () => ({ scrollUp: jest.fn() })); |