Fix flaky test in Edge

This commit is contained in:
Daniel Huigens 2019-05-02 12:54:17 +02:00
parent f322aaf715
commit 6689f93465

View File

@ -640,7 +640,7 @@ function tests() {
const reader = openpgp.stream.getReader(signed.signature);
expect((await reader.readBytes(31)).toString('utf8')).to.equal('-----BEGIN PGP SIGNATURE-----\r\n');
dataArrived();
await new Promise(resolve => setTimeout(resolve, 1000));
await new Promise(resolve => setTimeout(resolve, 3000));
expect(i).to.be.greaterThan(100);
});