[Improvement] uniform fade animation (#410)

This commit is contained in:
neverland
2017-12-11 20:00:26 +08:00
committed by GitHub
parent 49ef814d1e
commit 7dbb5db256
8 changed files with 36 additions and 25 deletions

View File

@@ -97,7 +97,7 @@ describe('Toast', () => {
setTimeout(() => {
expect(document.querySelector('.van-toast-wrapper').style.display === 'none').to.be.true;
done();
}, 300);
}, 500);
});
it('toast duration 0', (done) => {