react-native/Libraries/WebSocket/__mocks__/event-target-shim.js

10 lines
233 B
JavaScript

// 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() {};