[Build] revert site to webpack config (#3747)

This commit is contained in:
neverland
2019-07-04 14:26:20 +08:00
committed by GitHub
parent 6c0f05d5cc
commit 75525ae410
37 changed files with 1326 additions and 8236 deletions
+2 -3
View File
@@ -1,5 +1,4 @@
/* eslint-disable camelcase */
import { renderToString } from '@vue/server-test-utils';
import AddressEdit from '..';
import areaList from '../../area/demo/area.simple';
import { mount, later, transitionStub } from '../../../test/utils';
@@ -41,11 +40,11 @@ const createComponent = () => {
};
test('create a AddressEdit', () => {
expect(renderToString(AddressEdit)).toMatchSnapshot();
expect(mount(AddressEdit)).toMatchSnapshot();
});
test('create a AddressEdit with props', () => {
const wrapper = renderToString(AddressEdit, {
const wrapper = mount(AddressEdit, {
propsData: {
areaList,
addressInfo,