Fela Maslen 5 лет назад
Родитель
Сommit
d3d2b01a7d
1 измененных файлов с 1 добавлено и 2 удалено
  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();
       unmount();
     });
     });
 
 
+    // eslint-disable-next-line jest/prefer-expect-assertions
     it('should set the response and loading state back to false', async () => {
     it('should set the response and loading state back to false', async () => {
-      expect.assertions(3);
-
       const { getByTestId, unmount } = setupRequest();
       const { getByTestId, unmount } = setupRequest();
 
 
       await waitFor(() => {
       await waitFor(() => {