File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div class =" animated fadeIn" >
3
- Hello World
3
+ < p class = " text-info " > Hello World</ p >
4
4
</div >
5
5
</template >
6
6
Original file line number Diff line number Diff line change 1
1
import Vue from 'vue'
2
- import Hello from '@/components/Hello '
2
+ import Dashboard from '@/views/Dashboard '
3
3
4
- describe ( 'Hello .vue' , ( ) => {
4
+ describe ( 'Dashboard .vue' , ( ) => {
5
5
it ( 'should render correct contents' , ( ) => {
6
- const Constructor = Vue . extend ( Hello )
6
+ const Constructor = Vue . extend ( Dashboard )
7
7
const vm = new Constructor ( ) . $mount ( )
8
- expect ( vm . $el . querySelector ( '.hello h1 ' ) . textContent )
9
- . to . equal ( 'Welcome to Your Vue.js App ' )
8
+ expect ( vm . $el . querySelector ( '.text-info ' ) . textContent )
9
+ . to . equal ( 'Hello World ' )
10
10
} )
11
11
} )
You can’t perform that action at this time.
0 commit comments