[improvement] update eslint config (#2288)

This commit is contained in:
neverland
2018-12-14 14:24:23 +08:00
committed by GitHub
parent d2751ffdfa
commit 16e4889a92
141 changed files with 6387 additions and 7536 deletions
+3 -3
View File
@@ -8,7 +8,7 @@ const firstOption = [
{ code: '110101', name: '东城区' }
];
test('confirm & cancel event', async() => {
test('confirm & cancel event', async () => {
const wrapper = mount(Area, {
propsData: {
areaList
@@ -24,7 +24,7 @@ test('confirm & cancel event', async() => {
expect(wrapper.emitted('cancel')[0][0]).toEqual(firstOption);
});
test('watch areaList & code', async() => {
test('watch areaList & code', async () => {
const wrapper = mount(Area, {
propsData: {
areaList
@@ -71,7 +71,7 @@ test('getValues method', () => {
expect(wrapper.vm.getValues()).toEqual(firstOption);
});
test('reset method', async() => {
test('reset method', async () => {
const wrapper = mount(Area, {
propsData: {
areaList,