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

Commit 5fd1627

Browse files
committed
fix: increase timeout for resolve tests
License: MIT Signed-off-by: Alan Shaw <[email protected]>
1 parent 62ba9f7 commit 5fd1627

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

test/cli/resolve.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@ const isIpfs = require('is-ipfs')
77

88
const runOnAndOff = require('../utils/on-and-off')
99

10-
describe('resolve', () => runOnAndOff((thing) => {
10+
describe.only('resolve', () => runOnAndOff((thing) => {
1111
let ipfs
1212

1313
before(() => {
1414
ipfs = thing.ipfs
1515
})
1616

17-
it('should resolve an IPFS hash', () => {
17+
it('should resolve an IPFS hash', function () {
18+
this.timeout(10 * 1000)
19+
1820
const filePath = path.join(process.cwd(), '/src/init-files/init-docs/readme')
1921
let hash
2022

@@ -29,7 +31,9 @@ describe('resolve', () => runOnAndOff((thing) => {
2931
})
3032
})
3133

32-
it('should resolve an IPFS path link', () => {
34+
it('should resolve an IPFS path link', function () {
35+
this.timeout(10 * 1000)
36+
3337
const filePath = path.join(process.cwd(), '/src/init-files/init-docs/readme')
3438
let fileHash, rootHash
3539

0 commit comments

Comments
 (0)