mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 08:37:23 +00:00
test: enable all demo snapshots
This commit is contained in:
@@ -11,7 +11,7 @@ const EmptyComponent = {
|
||||
};
|
||||
|
||||
export function snapshotDemo(Demo: any, option: any = {}) {
|
||||
test('renders demo correctly', async () => {
|
||||
test('should render demo and match snapshot', async () => {
|
||||
if (option.beforeTest) {
|
||||
option.beforeTest();
|
||||
}
|
||||
|
Reference in New Issue
Block a user