Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
wip: rework tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dryajov committed Mar 1, 2018
1 parent 150926e commit 226341e
Show file tree
Hide file tree
Showing 7 changed files with 644 additions and 865 deletions.
8 changes: 5 additions & 3 deletions .aegir.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,20 @@ module.exports = {
served: true,
included: false
}],
singleRun: true,
singleRun: false,
captureTimeout: 5000 * 1000,
// browserDisconnectTolerance: 3, //this one helps
browserDisconnectTimeout: 5000 * 1000,
browserNoActivityTimeout: 5000 * 1000,
browserNoActivityTimeout: 5000 * 1000
},
hooks: {
pre: (done) => {
parallel([
(cb) => server.start(cb),
(cb) => {
rendezvous.start({port: 24642}, (err, _rzserver) => {
rendezvous.start({
port: 24642
}, (err, _rzserver) => {
if (err) {
return done(err)
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"scripts": {
"lint": "aegir lint",
"test": "cross-env IPFS_REUSEPORT=false aegir test -t node -t browser --no-cors --timeout 1000000",
"test": "cross-env IPFS_REUSEPORT=false aegir test -t node -t browser --no-cors --timeout 50000",
"test:node": "cross-env IPFS_REUSEPORT=false aegir test -t node -f test/node.js",
"test:browser": "cross-env IPFS_REUSEPORT=false aegir test -t browser --no-cors -f test/browser.js"
},
Expand Down
2 changes: 1 addition & 1 deletion test/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
// require('./exchange-files')
// require('./pubsub')
require('./kad-dht')
require('./circuit-relay')
require('./circuit')
// require('./repo')
Loading

0 comments on commit 226341e

Please sign in to comment.