Initial Vue.js project skeleton.

This commit is contained in:
Jonathan Bernard
2019-02-24 06:56:06 -07:00
parent 066e70b4bf
commit 1b91926d3a
41 changed files with 16147 additions and 2 deletions

View File

@ -0,0 +1,12 @@
import { shallowMount } from '@vue/test-utils';
import HelloWorld from '@/components/HelloWorld.vue';
describe('HelloWorld.vue', () => {
it('renders props.msg when passed', () => {
const msg = 'new message';
const wrapper = shallowMount(HelloWorld, {
propsData: { msg }
});
expect(wrapper.text()).toMatch(msg);
});
});