📚 Update development cycle documentation and add placeholder tests

This commit is contained in:
Jan Oberhauser
2019-08-14 13:45:18 +02:00
parent 9630615fc7
commit 97893fed1b
10 changed files with 82 additions and 26 deletions

View File

@@ -16,6 +16,7 @@
"dev": "npm run serve",
"lint": "vue-cli-service lint",
"serve": "VUE_APP_URL_BASE_API=http://localhost:5678/ vue-cli-service serve",
"test": "npm run test:unit",
"tslint": "tslint -p tsconfig.json -c tslint.json",
"test:e2e": "vue-cli-service test:e2e",
"test:unit": "vue-cli-service test:unit"

View File

@@ -1,12 +0,0 @@
// 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);
// });
// });

View File

@@ -0,0 +1,5 @@
describe('Placeholder.vue', () => {
it('example', () => {
expect(1 + 1).toEqual(2);
});
});