fix(ActionSheet): safe-area-inset-bottom not work (#8085)

This commit is contained in:
neverland
2021-02-05 10:24:42 +08:00
committed by GitHub
parent c0c2e8e125
commit 9735369e99
4 changed files with 22 additions and 4 deletions
+1 -3
View File
@@ -74,9 +74,7 @@ test('should have safe-area-inset-top class when using safe-area-inset-top prop'
},
});
expect(
wrapper.find('.van-nav-bar--safe-area-inset-top').exists()
).toBeTruthy();
expect(wrapper.classes()).toContain('van-nav-bar--safe-area-inset-top');
});
test('should change z-index when using z-index prop', () => {