Skip to content

Commit

Permalink
Fix test unit
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Wang <[email protected]>
  • Loading branch information
ruibaby committed Jan 17, 2024
1 parent 693da8c commit de8d0f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion console/console-src/modules/system/tools/Tools.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const routes = computed(() => {
<div
v-for="item in routes"
:key="item.name"
class="group flex min-h-[9rem] cursor-pointer flex-col items-center justify-center space-y-2 rounded-lg border border-dashed bg-white px-4 py-3 shadow transition-all hover:border-solid hover:border-indigo-300"
class="group flex min-h-[9rem] cursor-pointer flex-col items-center justify-center space-y-2 rounded-lg bg-white px-4 py-3 shadow transition-all hover:ring-1"
>
<div
class="inline-flex rounded-full bg-indigo-100 p-2 transition-all group-hover:p-2.5"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ describe("Menu", () => {
// 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);

Expand Down

0 comments on commit de8d0f6

Please sign in to comment.