Fix server.device.js test

Summary:
After the LogManager interface change this file wasn't updated.
The test isn't enabled at the moment, but I don't know why flow didn't notice this.

Reviewed By: passy

Differential Revision: D13783861

fbshipit-source-id: 09d887f6567300aa9a16ec2a97b17a2d9de338d1
This commit is contained in:
John Knox
2019-01-23 09:06:04 -08:00
committed by Facebook Github Bot
parent 64d3f34fe5
commit c68e74c6a0

View File

@@ -6,7 +6,7 @@
*/
import Server from '../server.js';
import LogManager from '../fb-stubs/Logger';
import {init as initLogger} from '../fb-stubs/Logger';
import reducers from '../reducers/index.js';
import {createStore} from 'redux';
import path from 'path';
@@ -26,7 +26,7 @@ beforeAll(() => {
fs.mkdirSync(flipperDir);
}
const logger = new LogManager();
const logger = initLogger(store);
androidDevice(store, logger);
iosDevice(store, logger);