[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

View File

@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders progress correctly 1`] = `
exports[`renders demo correctly 1`] = `
<div>
<div>
<div class="van-progress"><span class="van-progress__portion" style="width:0%;background-color:#38f;"></span> <span class="van-progress__pivot" style="color:#fff;background-color:#38f;left:0%;margin-left:0;">0%</span></div>

View File

@@ -1,4 +1,4 @@
import Progress from '../';
import Demo from '../demo';
import demoTest from '../../../test/demo-test';
demoTest(Progress);
demoTest(Demo);