[Improvement] Toast: add test cases (#1104)

This commit is contained in:
neverland
2018-05-19 09:57:45 +08:00
committed by GitHub
parent bb74fd0bd5
commit 3d669b4a81
4 changed files with 86 additions and 5 deletions
@@ -0,0 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`create a forbidClick toast 1`] = `
<div class="van-toast van-toast--text van-toast--middle" style="display: none;" name="van-fade">
<div></div>
<!---->
<!---->
</div>
`;