[Improvement] Rebuild test system (#1051)

This commit is contained in:
neverland
2018-05-12 14:04:32 +08:00
committed by GitHub
parent 360f2f40b1
commit a55eda8891
185 changed files with 4989 additions and 7950 deletions
@@ -0,0 +1,12 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders tag correctly 1`] = `
<div>
<div><span class="van-hairline--surround van-tag">标签</span> <span class="van-hairline--surround van-tag van-tag--danger">标签</span> <span class="van-hairline--surround van-tag van-tag--success">标签</span> <span class="van-hairline--surround van-tag van-tag--primary">标签</span></div>
<div><span class="van-hairline--surround van-tag van-tag--plain">标签</span> <span class="van-hairline--surround van-tag van-tag--plain van-tag--danger">标签</span> <span class="van-hairline--surround van-tag van-tag--plain van-tag--primary">标签</span>
<span
class="van-hairline--surround van-tag van-tag--plain van-tag--success">标签</span>
</div>
<div><span class="van-hairline--surround van-tag van-tag--mark">标签</span> <span class="van-hairline--surround van-tag van-tag--mark van-tag--danger">标签</span> <span class="van-hairline--surround van-tag van-tag--mark van-tag--primary">标签</span> <span class="van-hairline--surround van-tag van-tag--mark van-tag--success">标签</span></div>
</div>
`;
+4
View File
@@ -0,0 +1,4 @@
import Tag from '../';
import demoTest from '../../../test/demo-test';
demoTest(Tag);