[Improvement] Optimize demo test (#1053)

This commit is contained in:
neverland
2018-05-12 16:08:09 +08:00
committed by GitHub
parent 4de1e7da55
commit a3c1e49eee
147 changed files with 582 additions and 513 deletions
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders pull-refresh correctly 1`] = `
exports[`renders demo correctly 1`] = `
<div>
<div class="van-pull-refresh">
<div class="van-pull-refresh__track" style="transition:0ms;transform:translate3d(0,0px, 0);">
+4
View File
@@ -0,0 +1,4 @@
import Demo from '../demo';
import demoTest from '../../../test/demo-test';
demoTest(Demo);
-4
View File
@@ -1,4 +0,0 @@
import PullRefresh from '../';
import demoTest from '../../../test/demo-test';
demoTest(PullRefresh);