소스 검색

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,