mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
[Improvement] Optimize demo test (#1053)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`renders password-input correctly 1`] = `
|
||||
exports[`renders demo correctly 1`] = `
|
||||
<div>
|
||||
<div>
|
||||
<div class="van-password-input">
|
4
packages/password-input/test/demo.spec.js
Normal file
4
packages/password-input/test/demo.spec.js
Normal file
@@ -0,0 +1,4 @@
|
||||
import Demo from '../demo';
|
||||
import demoTest from '../../../test/demo-test';
|
||||
|
||||
demoTest(Demo);
|
@@ -1,4 +0,0 @@
|
||||
import PasswordInput from '../';
|
||||
import demoTest from '../../../test/demo-test';
|
||||
|
||||
demoTest(PasswordInput);
|
Reference in New Issue
Block a user