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