From 984abeca462ab1e32dc63d83f6e51be3c9b12a5e Mon Sep 17 00:00:00 2001 From: GeorgeLeoo Date: Sun, 21 Nov 2021 16:57:47 +0800 Subject: [PATCH] =?UTF-8?q?docs(alert.spec.ts):=20alert=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=8F=8F=E8=BF=B0=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/devui-vue/devui/alert/__tests__/alert.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/devui-vue/devui/alert/__tests__/alert.spec.ts b/packages/devui-vue/devui/alert/__tests__/alert.spec.ts index 08830e62..1ed2d1ca 100644 --- a/packages/devui-vue/devui/alert/__tests__/alert.spec.ts +++ b/packages/devui-vue/devui/alert/__tests__/alert.spec.ts @@ -26,7 +26,7 @@ describe('alert', () => { }) expect(wrapper.find('.devui-icon-success').exists()).toBe(true) }) - it('alert should has success type', () => { + it('alert should has warning type', () => { const wrapper = mount(Alert, { props: { type: 'warning', @@ -34,7 +34,7 @@ describe('alert', () => { }) expect(wrapper.find('.devui-icon-warning').exists()).toBe(true) }) - it('alert should has success type', () => { + it('alert should has error type', () => { const wrapper = mount(Alert, { props: { type: 'danger', -- Gitee