mirror of https://github.com/status-im/metro.git
Fix flacky Server-test in metro
Reviewed By: mjesun Differential Revision: D6220171 fbshipit-source-id: 603671db9a6345dd039c443eb14593e3631c7a88
This commit is contained in:
parent
cecb9bae99
commit
26718da993
|
@ -27,14 +27,13 @@ jest
|
||||||
.mock('../../lib/GlobalTransformCache')
|
.mock('../../lib/GlobalTransformCache')
|
||||||
.mock('../../DeltaBundler/Serializers');
|
.mock('../../DeltaBundler/Serializers');
|
||||||
|
|
||||||
const DeltaBundler = require('../../DeltaBundler');
|
|
||||||
|
|
||||||
describe('processRequest', () => {
|
describe('processRequest', () => {
|
||||||
let Bundler;
|
let Bundler;
|
||||||
let Server;
|
let Server;
|
||||||
let AssetServer;
|
let AssetServer;
|
||||||
let symbolicate;
|
let symbolicate;
|
||||||
let Serializers;
|
let Serializers;
|
||||||
|
let DeltaBundler;
|
||||||
const lastModified = new Date();
|
const lastModified = new Date();
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
|
@ -45,6 +44,7 @@ describe('processRequest', () => {
|
||||||
AssetServer = require('../../AssetServer');
|
AssetServer = require('../../AssetServer');
|
||||||
symbolicate = require('../symbolicate');
|
symbolicate = require('../symbolicate');
|
||||||
Serializers = require('../../DeltaBundler/Serializers');
|
Serializers = require('../../DeltaBundler/Serializers');
|
||||||
|
DeltaBundler = require('../../DeltaBundler');
|
||||||
});
|
});
|
||||||
|
|
||||||
let server;
|
let server;
|
||||||
|
|
Loading…
Reference in New Issue