mirror of
https://github.com/un-pany/v3-admin-vite.git
synced 2025-04-19 02:19:20 +08:00
test: 更新测试用例
This commit is contained in:
parent
17ca9b58e4
commit
b85354b8d3
@ -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, {
|
||||
@ -29,6 +29,6 @@ describe("list", () => {
|
||||
]
|
||||
}
|
||||
})
|
||||
expect(wrapper.find("el-empty").exists()).toBe(false)
|
||||
expect(wrapper.find("el-empty-stub").exists()).toBe(false)
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user