Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit fa7f5d0

Browse files
committed
test: up timeouts for ci
1 parent 6543854 commit fa7f5d0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/core/libp2p.spec.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,16 @@ const Libp2p = require('libp2p')
1616

1717
const libp2pComponent = require('../../src/core/components/libp2p')
1818

19-
describe('libp2p customization', () => {
19+
describe('libp2p customization', function () {
20+
// Provide some extra time for ci since we're starting libp2p nodes in each test
21+
this.timeout = 15 * 1000
22+
2023
let peerInfo
2124
let peerBook
2225
let mockConfig
2326
let _libp2p
2427

25-
before(function (done) {
26-
this.timeout = 10 * 1000
27-
28+
before((done) => {
2829
mockConfig = {
2930
get: (callback) => {
3031
callback(null, {

0 commit comments

Comments
 (0)