diff --git a/Libraries/WebSocket/__mocks__/event-target-shim.js b/Libraries/WebSocket/__mocks__/event-target-shim.js new file mode 100644 index 000000000..3b566fcc9 --- /dev/null +++ b/Libraries/WebSocket/__mocks__/event-target-shim.js @@ -0,0 +1,9 @@ +// Jest fatals for the following statement (minimal repro case) +// +// exports.something = Symbol; +// +// Until it is fixed, mocking the entire node module makes the +// problem go away. + +'use strict'; +module.exports = function() {};