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 11<template >
22 <div class =" animated fadeIn" >
3- Hello World
3+ < p class = " text-info " > Hello World</ p >
44 </div >
55</template >
66
Original file line number Diff line number Diff line change 11import Vue from 'vue'
2- import Hello from '@/components/Hello '
2+ import Dashboard from '@/views/Dashboard '
33
4- describe ( 'Hello .vue' , ( ) => {
4+ describe ( 'Dashboard .vue' , ( ) => {
55 it ( 'should render correct contents' , ( ) => {
6- const Constructor = Vue . extend ( Hello )
6+ const Constructor = Vue . extend ( Dashboard )
77 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 ' )
1010 } )
1111} )
You can’t perform that action at this time.
0 commit comments