types: test cases typing

This commit is contained in:
chenjiahan
2021-02-11 13:04:00 +08:00
parent 7a5fb894d2
commit e2e0f66fe6
87 changed files with 129 additions and 121 deletions
+2 -2
View File
@@ -29,8 +29,8 @@ test('should change z-index when using z-index prop', async () => {
});
await nextTick();
expect(wrapper.find('.van-popup').element.style.zIndex).toEqual('11');
expect(wrapper.find('.van-overlay').element.style.zIndex).toEqual('11');
expect(wrapper.find('.van-popup').style.zIndex).toEqual('11');
expect(wrapper.find('.van-overlay').style.zIndex).toEqual('11');
});
test('should lock scroll when showed', async () => {