Kaynağa Gözat

fix: flaky test

Fela Maslen 5 yıl önce
ebeveyn
işleme
d3d2b01a7d
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. 1 2
      gmus-web/src/hooks/request.spec.tsx

+ 1 - 2
gmus-web/src/hooks/request.spec.tsx

@@ -67,9 +67,8 @@ describe(useRequestCallback.name, () => {
       unmount();
     });
 
+    // eslint-disable-next-line jest/prefer-expect-assertions
     it('should set the response and loading state back to false', async () => {
-      expect.assertions(3);
-
       const { getByTestId, unmount } = setupRequest();
 
       await waitFor(() => {