Skip to content

Commit

Permalink
test: fix create-directional-animation-factory test
Browse files Browse the repository at this point in the history
  • Loading branch information
albertjcuac committed Aug 15, 2024
1 parent b35e792 commit 938260f
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { mount, Wrapper } from '@vue/test-utils';
import Vue from 'vue';
import { DOMWrapper, mount } from '@vue/test-utils';
import { getDataTestSelector } from '../../../__tests__/utils';
import { createDirectionalAnimationFactory } from '../create-directional-animation-factory';

Expand All @@ -26,7 +25,7 @@ describe('testing animation abstract factory', () => {
open(): void | Promise<void> {
return wrapper.setProps({ open: true });
},
getContentWrapper(): Wrapper<Vue> {
getContentWrapper(): DOMWrapper<Element> {
return wrapper.find(getDataTestSelector('animation-content'));
}
};
Expand All @@ -43,5 +42,5 @@ describe('testing animation abstract factory', () => {

interface RenderApi {
open: () => void | Promise<void>;
getContentWrapper: () => Wrapper<Vue>;
getContentWrapper: () => DOMWrapper<Element>;
}

0 comments on commit 938260f

Please sign in to comment.