Fix flacky Server-test in metro

Reviewed By: mjesun

Differential Revision: D6220171

fbshipit-source-id: 603671db9a6345dd039c443eb14593e3631c7a88
This commit is contained in:
Rafael Oleza 2017-11-02 05:56:49 -07:00 committed by Facebook Github Bot
parent cecb9bae99
commit 26718da993
1 changed files with 2 additions and 2 deletions

View File

@ -27,14 +27,13 @@ jest
.mock('../../lib/GlobalTransformCache')
.mock('../../DeltaBundler/Serializers');
const DeltaBundler = require('../../DeltaBundler');
describe('processRequest', () => {
let Bundler;
let Server;
let AssetServer;
let symbolicate;
let Serializers;
let DeltaBundler;
const lastModified = new Date();
beforeEach(() => {
@ -45,6 +44,7 @@ describe('processRequest', () => {
AssetServer = require('../../AssetServer');
symbolicate = require('../symbolicate');
Serializers = require('../../DeltaBundler/Serializers');
DeltaBundler = require('../../DeltaBundler');
});
let server;