import Vue from 'vue' describe('Directive v-model file', () => { it('warn to use @change instead', () => { new Vue({ data: { file: '' }, template: '' }).$mount() expect('Use a v-on:change listener instead').toHaveBeenWarned() }) })