Преглед на файлове

Removed redundant "await" (#571)

dwikov преди 4 години
родител
ревизия
7ad8e4493f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      kafka-ui-react-app/src/components/Cluster/__tests__/Cluster.spec.tsx

+ 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();
     });
     it('renders Schemas if KAFKA_CONNECT is configured', async () => {
-      await store.dispatch(
+      store.dispatch(
         fetchClusterListAction.success([
           {
             ...onlineClusterPayload,