mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-14 17:04:38 +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()
|
|
})
|
|
})
|