From 45ba04735031772c53fc5aa29e473a734ccaed5f Mon Sep 17 00:00:00 2001 From: huxiyang3 <1872591453@qq.com> Date: Wed, 30 Oct 2024 20:20:39 +0800 Subject: [PATCH] fix: unit test --- src/packages/__VUE/dialog/__tests__/index.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/packages/__VUE/dialog/__tests__/index.spec.ts b/src/packages/__VUE/dialog/__tests__/index.spec.ts index 3ab5860d43..6d4a10bb60 100644 --- a/src/packages/__VUE/dialog/__tests__/index.spec.ts +++ b/src/packages/__VUE/dialog/__tests__/index.spec.ts @@ -63,7 +63,8 @@ test('Dialog: header slot', async () => { test('Dialog: closeOnClickOverlay', async () => { const wrapper1 = mount(Dialog, { props: { - visible: true + visible: true, + closeOnClickOverlay: true } }) const wrapper2 = mount(Dialog, {