Summary:
Make as manything as inferred enum as possible changelog: [Logs] Improve power search config to populate dropdown for level, PID & Tag Reviewed By: aigoncharov Differential Revision: D51199644 fbshipit-source-id: 383b61abca5d91a8e318bbfb1aac7d3852074167
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a400eb2872
commit
4ada8b9322
@@ -57,6 +57,7 @@ test('it will merge equal rows', () => {
|
||||
"date": 2021-01-28T17:15:12.859Z,
|
||||
"message": "test1",
|
||||
"pid": 0,
|
||||
"pidStr": "0",
|
||||
"tag": "test",
|
||||
"tid": 1,
|
||||
"type": "error",
|
||||
@@ -67,6 +68,7 @@ test('it will merge equal rows', () => {
|
||||
"date": 2021-01-28T17:15:17.859Z,
|
||||
"message": "test2",
|
||||
"pid": 2,
|
||||
"pidStr": "2",
|
||||
"tag": "test",
|
||||
"tid": 3,
|
||||
"type": "warn",
|
||||
@@ -77,6 +79,7 @@ test('it will merge equal rows', () => {
|
||||
"date": 2021-01-28T17:15:12.859Z,
|
||||
"message": "test3",
|
||||
"pid": 0,
|
||||
"pidStr": "0",
|
||||
"tag": "test",
|
||||
"tid": 1,
|
||||
"type": "error",
|
||||
@@ -103,9 +106,12 @@ test('it supports deeplink and select nodes + navigating to bottom', async () =>
|
||||
|
||||
await sleep(1000);
|
||||
|
||||
expect(instance.tableManagerRef.current?.getSelectedItems()).toEqual([
|
||||
const current = instance.tableManagerRef.current;
|
||||
console.error('ref', current);
|
||||
expect(current?.getSelectedItems()).toEqual([
|
||||
{
|
||||
...entry2,
|
||||
pidStr: '2',
|
||||
count: 1,
|
||||
},
|
||||
]);
|
||||
@@ -116,6 +122,7 @@ test('it supports deeplink and select nodes + navigating to bottom', async () =>
|
||||
expect(instance.tableManagerRef.current?.getSelectedItems()).toEqual([
|
||||
{
|
||||
...entry3,
|
||||
pidStr: '0',
|
||||
count: 1,
|
||||
},
|
||||
]);
|
||||
@@ -138,6 +145,7 @@ test('export / import plugin does work', async () => {
|
||||
"date": 2021-01-28T17:15:12.859Z,
|
||||
"message": "test1",
|
||||
"pid": 0,
|
||||
"pidStr": "0",
|
||||
"tag": "test",
|
||||
"tid": 1,
|
||||
"type": "error",
|
||||
@@ -148,6 +156,7 @@ test('export / import plugin does work', async () => {
|
||||
"date": 2021-01-28T17:15:17.859Z,
|
||||
"message": "test2",
|
||||
"pid": 2,
|
||||
"pidStr": "2",
|
||||
"tag": "test",
|
||||
"tid": 3,
|
||||
"type": "warn",
|
||||
|
||||
Reference in New Issue
Block a user