mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-04-06 01:25:31 +00:00
Scaffold test for Editor.vue
This commit is contained in:
parent
1fc76e0c4e
commit
5f456fe752
14
webapp/components/Editor/Editor.spec.js
Normal file
14
webapp/components/Editor/Editor.spec.js
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
import { shallowMount } from '@vue/test-utils'
|
||||||
|
import Editor from './Editor.vue'
|
||||||
|
|
||||||
|
describe('Editor.vue', () => {
|
||||||
|
let wrapper
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
wrapper = shallowMount(Editor, {})
|
||||||
|
})
|
||||||
|
|
||||||
|
it('renders', () => {
|
||||||
|
expect(wrapper.is('div')).toBe(true)
|
||||||
|
})
|
||||||
|
})
|
||||||
Loading…
x
Reference in New Issue
Block a user