File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 281281 "Unit Test" : {
282282 "prefix" : " vtest" ,
283283 "body" : [
284- " import Vue from 'vue'" ,
285- " import ${1:HelloWorld} from './components/${1:HelloWorld}'" ,
284+ " import Vue from 'vue'; " ,
285+ " import ${1:HelloWorld} from './components/${1:HelloWorld}'; " ,
286286 " " ,
287287 " describe('${1:HelloWorld}.vue', () => {" ,
288288 " \t it('${2:should render correct contents}', () => {" ,
289- " \t\t const Constructor = Vue.extend(${1:HelloWorld})" ,
290- " \t\t const vm = new Constructor().$mount()" ,
289+ " \t\t const Constructor = Vue.extend(${1:HelloWorld}); " ,
290+ " \t\t const vm = new Constructor().$mount(); " ,
291291 " \t\t expect(vm.$el.querySelector('.hello h1').textContent)" ,
292- " \t\t\t .to.equal(${3:'Welcome to Your Vue.js App'})" ,
293- " \t })" ,
294- " })"
292+ " \t\t\t .to.equal(${3:'Welcome to Your Vue.js App'}); " ,
293+ " \t }); " ,
294+ " }); "
295295 ],
296296 "description" : " unit test component"
297297 },
You can’t perform that action at this time.
0 commit comments