diff --git a/console/console-src/modules/system/tools/Tools.vue b/console/console-src/modules/system/tools/Tools.vue index d4cca27008..db837bdf42 100644 --- a/console/console-src/modules/system/tools/Tools.vue +++ b/console/console-src/modules/system/tools/Tools.vue @@ -23,7 +23,7 @@ const routes = computed(() => {
{ // has sub menu if (item.props().id === "3") { item.trigger("click"); - expect(item.emitted().select).toBeUndefined(); + expect(item.emitted().select).toBeDefined(); expect(item.vm.open).toBe(false);