Skip to content

Commit f229661

Browse files
edanielsSean-Der
authored andcommitted
Support wasm tests on apple silicon
1 parent 0a97ff6 commit f229661

File tree

3 files changed

+52
-471
lines changed

3 files changed

+52
-471
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
"repository": "[email protected]:pion/webrtc.git",
44
"private": true,
55
"devDependencies": {
6-
"wrtc": "0.4.7"
6+
"@roamhq/wrtc": "^0.8.0"
77
},
88
"dependencies": {
99
"request": "2.88.2"
10-
}
10+
},
11+
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
1112
}

test-wasm/node_shim.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// This file adds RTCPeerConnection to the global context, making Node.js more
55
// closely match the browser API for WebRTC.
66

7-
const wrtc = require('wrtc')
7+
const wrtc = require('@roamhq/wrtc')
88

99
global.window = {
1010
RTCPeerConnection: wrtc.RTCPeerConnection

0 commit comments

Comments
 (0)