Skip to content

Commit d663e10

Browse files
authored
fix component filename
1 parent 69dbb3e commit d663e10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

template/test/unit/specs/Hello.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import Vue from 'vue'{{#if_eq lintConfig "airbnb"}};{{/if_eq}}
2-
import Hello from '@/components/Hello'{{#if_eq lintConfig "airbnb"}};{{/if_eq}}
2+
import HelloWorld from '@/components/HelloWorld'{{#if_eq lintConfig "airbnb"}};{{/if_eq}}
33

4-
describe('Hello.vue', () => {
4+
describe('HelloWorld.vue', () => {
55
it('should render correct contents', () => {
6-
const Constructor = Vue.extend(Hello){{#if_eq lintConfig "airbnb"}};{{/if_eq}}
6+
const Constructor = Vue.extend(HelloWorld){{#if_eq lintConfig "airbnb"}};{{/if_eq}}
77
const vm = new Constructor().$mount(){{#if_eq lintConfig "airbnb"}};{{/if_eq}}
88
expect(vm.$el.querySelector('.hello h1').textContent)
99
.to.equal('Welcome to Your Vue.js App'){{#if_eq lintConfig "airbnb"}};{{/if_eq}}

0 commit comments

Comments
 (0)