diff --git a/test/browser.test.js b/test/browser.test.js index 9395967..1df93f9 100644 --- a/test/browser.test.js +++ b/test/browser.test.js @@ -68,6 +68,10 @@ function createBrowserLikeContext() { // used by `debug` module document: { documentElement: { style: {} } }, + // used by crypto-browserify & friends + Int32Array: Int32Array, + DataView: DataView, + // allow the browserified code to log messages // call `printContextLogs(context)` to print the accumulated messages console: {