Prevent logspew in symbolication worker-test

Reviewed By: mjesun

Differential Revision: D5803050

fbshipit-source-id: b585d073191ae521e8bc8cabb90a15d2a176d6da
This commit is contained in:
Christoph Nakazawa 2017-09-11 19:32:37 -07:00 committed by Facebook Github Bot
parent 92fa17f70e
commit 61a0116dd4
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,10 @@
*/
'use strict';
jest.mock('net', () => ({
createServer: () => ({listen: () => {}}),
}));
const SourceMapGenerator = require('../../../Bundler/source-map/Generator');
const {symbolicate} = require('../worker');