Browse Source

Removed redundant "await" (#571)

dwikov 4 years ago
parent
commit
7ad8e4493f

+ 1 - 1
kafka-ui-react-app/src/components/Cluster/__tests__/Cluster.spec.tsx

@@ -68,7 +68,7 @@ describe('Cluster', () => {
       expect(wrapper.exists('mock-Connect')).toBeFalsy();
       expect(wrapper.exists('mock-Connect')).toBeFalsy();
     });
     });
     it('renders Schemas if KAFKA_CONNECT is configured', async () => {
     it('renders Schemas if KAFKA_CONNECT is configured', async () => {
-      await store.dispatch(
+      store.dispatch(
         fetchClusterListAction.success([
         fetchClusterListAction.success([
           {
           {
             ...onlineClusterPayload,
             ...onlineClusterPayload,