File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export default defineNuxtModule<ModuleOptions>({
10
10
} ,
11
11
// Default configuration options of the Nuxt module
12
12
defaults : { } ,
13
- setup ( options , nuxt ) {
13
+ setup ( ) {
14
14
const resolver = createResolver ( import . meta. url ) ;
15
15
16
16
// Do not add the extension since the `.ts` will be transpiled to `.mjs` after `npm run prepack`
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ global.localStorage = (() => {
22
22
clear : ( ) : void => {
23
23
store = { } ;
24
24
} ,
25
- key : ( index : number ) : string | null => "" ,
25
+ key : ( ) : string | null => "" ,
26
26
length : Object . keys ( store ) . length ,
27
27
} ;
28
28
} ) ( ) ;
@@ -86,7 +86,7 @@ describe("isRepeatedEntry function", () => {
86
86
expect ( isRepeatedEntry ( data , newUtmItem ) ) . toBeFalsy ( ) ;
87
87
} ) ;
88
88
it ( "Returns false if the utm params are different but the session is the same" , ( ) => {
89
- newUtmItem . utmParams . utm_content = "New UTM content"
89
+ newUtmItem . utmParams . utm_content = "New UTM content" ;
90
90
expect ( isRepeatedEntry ( data , newUtmItem ) ) . toBeFalsy ( ) ;
91
91
} ) ;
92
92
} ) ;
You can’t perform that action at this time.
0 commit comments