test: fix timeout for node test

This commit is contained in:
Javed Khan 2018-07-10 17:09:11 +05:30
parent 2eb42d66d8
commit 6cf81d3490
No known key found for this signature in database
GPG Key ID: 7E31745B904584E6

View File

@ -102,7 +102,7 @@ describe('Node', function() {
await chain.add(block);
});
it('should mine competing chains', async () => {
it('should mine competing chains', async function () {
this.timeout(20000);
for (let i = 0; i < 10; i++) {
const block1 = await mineBlock(tip1, cb1);