Fix linting errors after #13392

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-08-30 13:43:57 +02:00
parent 3716ae33b2
commit aaab1e34da
151 changed files with 837 additions and 786 deletions
@@ -133,6 +133,6 @@ describe('KafkaDashboardClient', () => {
} as unknown as Entity;
kafkaDashboardClient.getDashboardUrl('cluster2', '', mockEntity);
expect(mockConfigApi.getConfigArray).toBeCalled();
expect(mockConfigApi.getConfigArray).toHaveBeenCalled();
});
});
@@ -166,7 +166,7 @@ describe('useConsumerGroupOffsets', () => {
},
};
const { result } = subject();
expect(() => result.current).toThrowError();
expect(() => result.current).toThrow();
expect(result.error).toStrictEqual(
new Error(
`Failed to parse kafka consumer group annotation: got "dev/another,consumer"`,