mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Sketch component test for @Tirokk
This commit is contained in:
parent
9261067273
commit
0be445afb6
15
webapp/components/RelativeDateTime/index.spec.js
Normal file
15
webapp/components/RelativeDateTime/index.spec.js
Normal file
@ -0,0 +1,15 @@
|
||||
import { shallowMount } from '@vue/test-utils'
|
||||
import RelativeDateTime from './index.vue'
|
||||
|
||||
describe('RelativeDateTime', () => {
|
||||
let wrapper
|
||||
|
||||
beforeEach(() => {
|
||||
wrapper = shallowMount(RelativeDateTime, {})
|
||||
})
|
||||
|
||||
it('renders', () => {
|
||||
console.log(wrapper.html())
|
||||
expect(wrapper.is('div')).toBe(true)
|
||||
})
|
||||
})
|
||||
Loading…
x
Reference in New Issue
Block a user