Skip to content

Commit 763f928

Browse files
committed
chore: remove unused vars
1 parent 20fcd4e commit 763f928

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default defineNuxtModule<ModuleOptions>({
1010
},
1111
// Default configuration options of the Nuxt module
1212
defaults: {},
13-
setup(options, nuxt) {
13+
setup() {
1414
const resolver = createResolver(import.meta.url);
1515

1616
// Do not add the extension since the `.ts` will be transpiled to `.mjs` after `npm run prepack`

test/unit.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ global.localStorage = (() => {
2222
clear: (): void => {
2323
store = {};
2424
},
25-
key: (index: number): string | null => "",
25+
key: (): string | null => "",
2626
length: Object.keys(store).length,
2727
};
2828
})();
@@ -86,7 +86,7 @@ describe("isRepeatedEntry function", () => {
8686
expect(isRepeatedEntry(data, newUtmItem)).toBeFalsy();
8787
});
8888
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";
9090
expect(isRepeatedEntry(data, newUtmItem)).toBeFalsy();
9191
});
9292
});

0 commit comments

Comments
 (0)