File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import Vue from 'vue' { { #if_eq lintConfig "airbnb" } } ; { { / i f _ e q } }
2
- import Hello from '@/components/Hello ' { { #if_eq lintConfig "airbnb" } } ; { { / i f _ e q } }
2
+ import HelloWorld from '@/components/HelloWorld ' { { #if_eq lintConfig "airbnb" } } ; { { / i f _ e q } }
3
3
4
- describe ( 'Hello .vue' , ( ) => {
4
+ describe ( 'HelloWorld .vue' , ( ) => {
5
5
it ( 'should render correct contents' , ( ) => {
6
- const Constructor = Vue . extend ( Hello ) { { #if_eq lintConfig "airbnb" } } ; { { / i f _ e q } }
6
+ const Constructor = Vue . extend ( HelloWorld ) { { #if_eq lintConfig "airbnb" } } ; { { / i f _ e q } }
7
7
const vm = new Constructor ( ) . $mount ( ) { { #if_eq lintConfig "airbnb" } } ; { { / i f _ e q } }
8
8
expect ( vm . $el . querySelector ( '.hello h1' ) . textContent )
9
9
. to . equal ( 'Welcome to Your Vue.js App' ) { { #if_eq lintConfig "airbnb" } } ; { { / i f _ e q } }
You can’t perform that action at this time.
0 commit comments