Skip to content

Commit

Permalink
test: 更新测试用例
Browse files Browse the repository at this point in the history
  • Loading branch information
pany-ang committed Dec 3, 2024
1 parent 17ca9b5 commit b85354b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/components/Notify.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe("list", () => {
data: []
}
})
expect(wrapper.find("el-empty").exists()).toBe(true)
expect(wrapper.find("el-empty-stub").exists()).toBe(true)
})
it("list 长度不为 0", () => {
const wrapper = shallowMount(List, {
Expand All @@ -29,6 +29,6 @@ describe("list", () => {
]
}
})
expect(wrapper.find("el-empty").exists()).toBe(false)
expect(wrapper.find("el-empty-stub").exists()).toBe(false)
})
})

0 comments on commit b85354b

Please sign in to comment.