Skip to content

Commit

Permalink
chore: fix webrtc tests (#2574)
Browse files Browse the repository at this point in the history
node-datachannel appears to be keeping processes running again.
  • Loading branch information
achingbrain authored Jun 6, 2024
1 parent 169c9d8 commit 12106b5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/transport-webrtc/.aegir.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/** @type {import('aegir').PartialOptions} */
export default {
build: {
Expand Down
2 changes: 1 addition & 1 deletion packages/transport-webrtc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"generate": "protons src/private-to-private/pb/message.proto src/pb/message.proto",
"build": "aegir build",
"test": "aegir test -t node -t browser",
"test:node": "aegir test -t node --cov",
"test:node": "aegir test -t node --cov -- --exit",
"test:chrome": "aegir test -t browser --cov",
"test:firefox": "aegir test -t browser -- --browser firefox",
"lint": "aegir lint",
Expand Down
2 changes: 1 addition & 1 deletion packages/transport-webrtc/test/transport.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe('WebRTCDirect Transport', () => {
]
const invalid = [
multiaddr('/ip4/1.2.3.4/udp/1234/webrtc/certhash/uEiAUqV7kzvM1wI5DYDc1RbcekYVmXli_Qprlw3IkiEg6tQ'),
multiaddr('/ip4/1.2.3.4/udp/1234/webrtc-direct/p2p/12D3KooWGDMwwqrpcYKpKCgxuKT2NfqPqa94QnkoBBpqvCaiCzWd'),
multiaddr('/ip4/1.2.3.4/tcp/1234/webrtc-direct/p2p/12D3KooWGDMwwqrpcYKpKCgxuKT2NfqPqa94QnkoBBpqvCaiCzWd'),
multiaddr('/ip4/1.2.3.4/udp/1234/certhash/uEiAUqV7kzvM1wI5DYDc1RbcekYVmXli_Qprlw3IkiEg6tQ/p2p/12D3KooWGDMwwqrpcYKpKCgxuKT2NfqPqa94QnkoBBpqvCaiCzWd')
]

Expand Down

0 comments on commit 12106b5

Please sign in to comment.