Move FlipperServer initialisation out of flipper-core

Summary: This diff makes sure flipper-ui-core no longer depends on flipper-server-core. Currently server config is still transferred from UI to server, which doesn't really make sense in future scenarios where server might start before client, but will address that separately

Reviewed By: timur-valiev, aigoncharov

Differential Revision: D32462835

fbshipit-source-id: 498a944256ba1aabbf963b896953e64d11e27214
This commit is contained in:
Michel Weststrate
2021-12-08 04:25:28 -08:00
committed by Facebook GitHub Bot
parent d48f22b8dc
commit eed19b3a3d
16 changed files with 79 additions and 65 deletions

View File

@@ -21,6 +21,7 @@ export class TestDevice extends BaseDevice {
) {
super(
{
async start() {},
on: jest.fn(),
off: jest.fn(),
exec: jest.fn(),