Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 74ecf1c

Browse files
committed
fix: timeouts
1 parent 9fa4708 commit 74ecf1c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.aegir.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ module.exports = {
1414
singleRun: true
1515
},
1616
hooks: {
17-
browser: {
18-
pre: server.start.bind(server),
19-
post: server.stop.bind(server)
20-
}
17+
pre: server.start.bind(server),
18+
post: server.stop.bind(server)
2119
}
2220
}

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
"http": "stream-http"
1111
},
1212
"scripts": {
13-
"test": "aegir test ",
14-
"test:node": "aegir test -t node ",
13+
"test": "aegir test",
14+
"test:node": "aegir test -t node",
1515
"test:browser": "aegir test -t browser",
16+
"test:webworker": "aegir test -t webworker",
1617
"lint": "aegir lint",
1718
"build": "aegir build",
1819
"release": "aegir release ",

test/name.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ describe('.name', function () {
9999
describe('Promise API', () => {
100100
let name
101101

102-
it('.name.publish', () => {
102+
it('.name.publish', function () {
103+
this.timeout(80 * 1000)
103104
return ipfs.name.publish('Qma4hjFTnCasJ8PVp3mZbZK5g2vGDT4LByLJ7m8ciyRFZP')
104105
.then((res) => {
105106
name = res

0 commit comments

Comments
 (0)