diff --git a/packages/x-components/src/components/__tests__/display-emitter.spec.ts b/packages/x-components/src/components/__tests__/display-emitter.spec.ts index 1ecdc1b62b..97205d68b2 100644 --- a/packages/x-components/src/components/__tests__/display-emitter.spec.ts +++ b/packages/x-components/src/components/__tests__/display-emitter.spec.ts @@ -1,23 +1,29 @@ import { mount, Wrapper } from '@vue/test-utils'; -import Vue, { ref } from 'vue'; -import { Component } from 'vue-property-decorator'; +import Vue, { ref, nextTick, Ref } from 'vue'; import { TaggingRequest } from '@empathyco/x-types'; -import { useElementVisibility } from '@vueuse/core'; +import { useEmitDisplayEvent } from '../../composables'; import DisplayEmitter from '../display-emitter.vue'; +import { getDataTestSelector } from '../../__tests__/utils'; -@Component({ - template: ` -