Attempt to make *hastic* client which works with old version of hastic-server https://code.corpglory.net/hastic/hastic-server
based on new version of hastic client from https://code.corpglory.net/hastic/hastic
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
13 lines
320 B
2 years ago
|
import { shallowMount } from '@vue/test-utils'
|
||
|
import Graph from '@/components/Graph.vue'
|
||
|
|
||
|
describe('HelloWorld.vue', () => {
|
||
|
it('renders props.msg when passed', () => {
|
||
|
const msg = 'new message'
|
||
|
const wrapper = shallowMount(Graph, {
|
||
|
props: { msg }
|
||
|
})
|
||
|
expect(wrapper.text()).toMatch(msg)
|
||
|
})
|
||
|
})
|