mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-13 07:35:53 +00:00
13 lines
294 B
TypeScript
13 lines
294 B
TypeScript
import { mount } from '@vue/test-utils'
|
|
import { describe, it, expect } from 'vitest'
|
|
|
|
import ClientOnly from './ClientOnly.vue'
|
|
|
|
describe('ClientOnly', () => {
|
|
const wrapper = mount(ClientOnly)
|
|
|
|
it('renders content if mounted', () => {
|
|
expect(wrapper.isVisible()).toBeTruthy()
|
|
})
|
|
})
|