File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,13 @@ import { init } from '../../src/client';
5
5
6
6
const vueInit = vi . spyOn ( SentryVue , 'init' ) ;
7
7
8
- describe ( 'Nuxt CLient SDK' , ( ) => {
8
+ describe ( 'Nuxt Client SDK' , ( ) => {
9
9
describe ( 'init' , ( ) => {
10
10
beforeEach ( ( ) => {
11
11
vi . clearAllMocks ( ) ;
12
12
} ) ;
13
13
14
- it ( 'adds Nuxt metadata to the SDK options' , ( ) => {
14
+ it ( 'Adds Nuxt metadata to the SDK options' , ( ) => {
15
15
expect ( vueInit ) . not . toHaveBeenCalled ( ) ;
16
16
17
17
init ( {
Original file line number Diff line number Diff line change 1
1
import { SDK_VERSION , getDefaultIntegrations , init as browserInit } from '@sentry/browser' ;
2
2
3
- import { applySdkMetadata } from '@sentry/core' ;
4
3
import { vueIntegration } from './integration' ;
5
4
import type { Options , TracingOptions } from './types' ;
6
5
@@ -27,7 +26,5 @@ export function init(
27
26
...config ,
28
27
} ;
29
28
30
- applySdkMetadata ( config , 'nuxt' , [ 'nuxt' , 'vue' ] ) ;
31
-
32
29
browserInit ( options ) ;
33
30
}
You can’t perform that action at this time.
0 commit comments