diff --git a/src/pages/RepoPage/FailedTestsTab/hooks/useInfiniteTestResults.spec.tsx b/src/pages/RepoPage/FailedTestsTab/hooks/useInfiniteTestResults.spec.tsx index 5589d77531..a0b79f2017 100644 --- a/src/pages/RepoPage/FailedTestsTab/hooks/useInfiniteTestResults.spec.tsx +++ b/src/pages/RepoPage/FailedTestsTab/hooks/useInfiniteTestResults.spec.tsx @@ -35,6 +35,7 @@ const mockTestResults = { hasNextPage: true, }, }, + testResultsCount: 2, }, }, } diff --git a/src/pages/RepoPage/FailedTestsTab/hooks/useInfiniteTestResults.tsx b/src/pages/RepoPage/FailedTestsTab/hooks/useInfiniteTestResults.tsx index 94c0cf294d..e2cb9ccba9 100644 --- a/src/pages/RepoPage/FailedTestsTab/hooks/useInfiniteTestResults.tsx +++ b/src/pages/RepoPage/FailedTestsTab/hooks/useInfiniteTestResults.tsx @@ -40,6 +40,7 @@ const GetTestResultsSchema = z.object({ hasNextPage: z.boolean(), }), }), + testResultsCount: z.number(), }), RepoNotFoundErrorSchema, RepoOwnerNotActivatedErrorSchema, @@ -83,6 +84,7 @@ query GetTestResults( hasNextPage } } + testResultsCount } ... on NotFoundError { message