import React from 'react';
import { shallow, mount } from 'enzyme';
import assert from 'assert';
import sinon from 'sinon';
import WeUI from '../src/index';
const {Progress} = WeUI;
describe('', ()=> {
[undefined, null, sinon.spy()].map((onClick) => {
[-10, 0, 10, 110].map((value) => {
[true, false].map(showCancel => {
describe(``, () => {
let wrapper = shallow(