Mostly set up

This commit is contained in:
The Jared Wilcurt committed 2019-07-08 09:32:03 -04:00
1 parent 2cf9a5b16f
commit 620b4f3ddb
30 files changed
+17386 -57

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
module.exports = {
env: {
jest: true
}
};
+12
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);
});
});