8000
File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
- import { captureException , WINDOW } from '@sentry/browser' ;
1
+ import { WINDOW } from '@sentry/browser' ;
2
+ import { captureException } from '@sentry/core' ;
2
3
import { Transaction , TransactionContext , TransactionSource } from '@sentry/types' ;
3
4
4
5
import { getActiveTransaction } from './tracing' ;
Original file line number Diff line number Diff line change 1
- import * as SentryBrowser from '@sentry/browser ' ;
1
+ import * as SentryCore from '@sentry/core ' ;
2
2
import { Transaction } from '@sentry/types' ;
3
3
4
4
import { vueRouterInstrumentation } from '../src' ;
5
5
import { Route } from '../src/router' ;
6
6
import * as vueTracing from '../src/tracing' ;
7
7
8
- const captureExceptionSpy = jest . spyOn ( SentryBrowser , 'captureException' ) ;
8
+ const captureExceptionSpy = jest . spyOn ( SentryCore , 'captureException' ) ;
9
9
10
10
const mockVueRouter = {
11
11
onError : jest . fn < void , [ ( error : Error ) => void ] > ( ) ,
You can’t perform that action at this time.
0 commit comments