Skip to content

Commit

Permalink
chore: run go tests on node
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Apr 27, 2022
1 parent cd09f89 commit 3619aca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"pretest": "npm run build",
"benchmark": "node ./node_modules/.bin/benchmark 'test/benchmark/time-cache.test.js' --local",
"test": "aegir test -f './dist/test/*.spec.js'",
"test:node": "npm run test -- --target node",
"test:node": "npm run test -- -f './dist/test/*.js' --target node",
"test:browser": "npm run test -- --target browser"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion test/go-gossipsub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const checkReceivedMessage =
const t = setTimeout(() => {
node.pubsub.removeEventListener('message', cb)
reject(new Error(`Message never received, sender ${senderIx}, receiver ${receiverIx}, index ${msgIx}`))
}, 20000)
}, 60000)
const cb = (evt: CustomEvent<Message>) => {
const msg = evt.detail

Expand Down

0 comments on commit 3619aca

Please sign in to comment.