From 00f9bc3256dd8c923f516cc504f3017664664281 Mon Sep 17 00:00:00 2001 From: Rachel Date: Thu, 6 Aug 2020 10:38:53 +0800 Subject: [PATCH] chore(container): fix test lint --- packages/container/__tests__/container.spec.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/container/__tests__/container.spec.ts b/packages/container/__tests__/container.spec.ts index e34d1a84e5..c6445ab416 100644 --- a/packages/container/__tests__/container.spec.ts +++ b/packages/container/__tests__/container.spec.ts @@ -49,9 +49,9 @@ describe('Container.vue', () => { }, data() { return { - direction: 'horizontal' - }; - } + direction: 'horizontal', + } + }, } const wrapper = mount(TestComponent) expect(wrapper.vm.$el.classList.contains('is-vertical')).toBe(false) @@ -76,7 +76,7 @@ describe('Header', () => { }) const vm = wrapper.vm expect(vm.$el.style.height).toEqual('100px') - }); + }) }) describe('Aside', () => { @@ -93,7 +93,7 @@ describe('Aside', () => { }) const vm = wrapper.vm expect(vm.$el.style.width).toEqual('200px') - }); + }) }) describe('Main', () => { @@ -117,7 +117,7 @@ describe('Footer', () => { }) const vm = wrapper.vm expect(vm.$el.style.height).toEqual('100px') - }); + }) })