* fix: 修复两处单元测试错误
@@ -1,3 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`slot: html should contain custom text 1`] = `"<div class=\\"nut-divider nut-divider-center nut-divider-hairline\\">custom text</div>"`;
+exports[`slot: html should contain custom text 1`] = `"<view class=\\"nut-divider nut-divider-center nut-divider-hairline\\">custom text</view>"`;
@@ -197,7 +197,7 @@ test('menu item change props: value2 should be b after click', async () => {
test('menu close-on-click-overlay props: ', async () => {
const wrapper = mount(Menu, {
props: {
- closeOnClickOverlay: false
+ closeOnClickOverlay: true
},
slots: {
default: h(MenuItem, {