Skip to content

Commit 56e07a2

Browse files
committed
chore: Remove redundant type assertion
1 parent a980be6 commit 56e07a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/components/Datepicker.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const format = (date: Date): string => {
3737
const mountDatepicker = async (
3838
props: any = {},
3939
): Promise<{ dp: VueWrapper<any>; menu: VueWrapper<any>; datePicker: VueWrapper<any> }> => {
40-
const dp = mount(MainComponent, { props }) as VueWrapper<any>;
40+
const dp = mount(MainComponent, { props });
4141

4242
dp.vm.openMenu();
4343
await flushPromises();

0 commit comments

Comments
 (0)