Skip to content

Commit dd928cb

Browse files
author
mdatelle
committed
chore: clean up any's
1 parent f376370 commit dd928cb

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

web/test/components/Auth.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/**
22
* Auth Component Test Coverage
33
*/
4+
45
import { ref } from 'vue';
56
import { mount } from '@vue/test-utils';
67

@@ -42,7 +43,7 @@ vi.mock('~/store/server', () => ({
4243

4344
// Mock pinia's storeToRefs to simply return the store
4445
vi.mock('pinia', () => ({
45-
storeToRefs: (store: any) => store,
46+
storeToRefs: (store: unknown) => store,
4647
}));
4748

4849
describe('Auth Component', () => {

web/test/components/DownloadApiLogs.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/**
22
* DownloadApiLogs Component Test Coverage
3-
*
4-
* This test file provides 100% coverage for the DownloadApiLogs component.
53
*/
64

75
import { mount } from '@vue/test-utils';

web/test/components/KeyActions.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* KeyActions Component Test Coverage
3+
*/
4+
15
import { ref } from 'vue';
26
import { mount } from '@vue/test-utils';
37

web/test/mocks/ui-components.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { vi } from 'vitest';
44
const mockCn = (...args: any[]) => args.filter(Boolean).join(' ');
55

66
const MockBrandButton = {
7-
name: 'BrandButton', // Use the actual component name
7+
name: 'BrandButton',
88
props: [
99
'class',
1010
'disabled',
@@ -27,7 +27,7 @@ const MockBrandButton = {
2727
{{ props.text || '' }} <slot />
2828
</button>
2929
`,
30-
setup(props: any) {
30+
setup(props: Record<string, unknown>) {
3131
return { props };
3232
},
3333
};

0 commit comments

Comments
 (0)