import Carousel from '@/components/Carousel' ; import { mount } from '@vue/test-utils' ; describe ( 'Carousel.ts' , ( ) => { let wrapper ; beforeEach ( async ( ) => { wrapper = mount ( Carousel ) ; } ) ; it ( 'It renders correctly' , ( ) => { const carousel = wrapper . find ( '.carousel' ) ; expect ( carousel . exists ( ) ) . toBe ( true ) ; } ) ; } ) ;