فهرست منبع

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,