Update jest test
This commit is contained in:
parent
83b8b74c93
commit
fa713979ac
|
|
@ -1,7 +1,8 @@
|
||||||
import {createLocalVue, shallowMount} from '@vue/test-utils'
|
import {createLocalVue, shallowMount} from '@vue/test-utils';
|
||||||
import CommentInput from '@/components/rooms/CommentInput';
|
import CommentInput from '@/components/rooms/CommentInput';
|
||||||
|
|
||||||
const localVue = createLocalVue()
|
const localVue = createLocalVue();
|
||||||
|
localVue.directive('auto-grow', {});
|
||||||
|
|
||||||
describe('CommentInput.vue', () => {
|
describe('CommentInput.vue', () => {
|
||||||
|
|
||||||
|
|
@ -20,4 +21,4 @@ describe('CommentInput.vue', () => {
|
||||||
expect(wrapper.emitted()['submit'][0]).toEqual([inputText]);
|
expect(wrapper.emitted()['submit'][0]).toEqual([inputText]);
|
||||||
});
|
});
|
||||||
|
|
||||||
})
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue