Add test for flipper-messages

Summary: Some non-UI tests. Couldn't quite figure out how to make the renderer aware of changes in the old ManagedTable. Given that I've got a task for migrating, I didn't think it was worth digging into it more.

Reviewed By: mweststrate

Differential Revision: D28001651

fbshipit-source-id: 034b3d71bff2513c946b9f84525f3344b7879df9
This commit is contained in:
Pascal Hartig
2021-04-27 09:05:20 -07:00
committed by Facebook GitHub Bot
parent 15e4ae5c24
commit dcc7e06afc
2 changed files with 160 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ import {
import {createState, PluginClient, usePlugin, useValue} from 'flipper-plugin';
import React from 'react';
type MessageInfo = {
export type MessageInfo = {
device?: string;
app: string;
flipperInternalMethod?: string;
@@ -32,7 +32,7 @@ type MessageInfo = {
direction: 'toClient' | 'toFlipper';
};
type MessageRow = {
export type MessageRow = {
columns: {
time: {
value: string;