浏览代码

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,