1 import { expect } from 'chai'
2 import { shallowMount } from '@vue/test-utils'
3 import HelloWorld from '@/components/HelloWorld.vue'
5 describe('HelloWorld.vue', () => {
6 it('renders props.msg when passed', () => {
7 const msg = 'new message'
8 const wrapper = shallowMount(HelloWorld, {
11 expect(wrapper.text()).to.include(msg)