📚 Update development cycle documentation and add placeholder tests
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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);
|
||||
// });
|
||||
// });
|
||||
5
packages/editor-ui/tests/unit/placeholder.spec.ts
Normal file
5
packages/editor-ui/tests/unit/placeholder.spec.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
describe('Placeholder.vue', () => {
|
||||
it('example', () => {
|
||||
expect(1 + 1).toEqual(2);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user