Hastic standalone https://hastic.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
320 B

3 years ago
import { shallowMount } from '@vue/test-utils'
3 years ago
import Graph from '@/components/Graph.vue'
3 years ago
describe('HelloWorld.vue', () => {
it('renders props.msg when passed', () => {
const msg = 'new message'
3 years ago
const wrapper = shallowMount(Graph, {
3 years ago
props: { msg }
})
expect(wrapper.text()).toMatch(msg)
})
})