Update jest test

This commit is contained in:
Ramon Wenger 2022-02-28 13:05:38 +01:00
parent 83b8b74c93
commit fa713979ac
1 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,8 @@
import {createLocalVue, shallowMount} from '@vue/test-utils'
import {createLocalVue, shallowMount} from '@vue/test-utils';
import CommentInput from '@/components/rooms/CommentInput';
const localVue = createLocalVue()
const localVue = createLocalVue();
localVue.directive('auto-grow', {});
describe('CommentInput.vue', () => {
@ -20,4 +21,4 @@ describe('CommentInput.vue', () => {
expect(wrapper.emitted()['submit'][0]).toEqual([inputText]);
});
})
});