troubleshoot tests #105
unit-test.yaml
on: pull_request
test pull request
9s
Annotations
3 errors and 1 warning
TypeError: expect(current).toHaveTextContent is not a function. (In 'expect(current).toHaveTextContent("4")':
components/recipe-gallery/__tests__/gallery-pagination.test.tsx#L28
at <anonymous> (/home/runner/work/grits-greenbeans-grandmothers-next/grits-greenbeans-grandmothers-next/components/recipe-gallery/__tests__/gallery-pagination.test.tsx:28:21)
|
TypeError: expect(prev).toHaveTextContent is not a function. (In 'expect(prev).toHaveTextContent(/previous/i)':
components/recipe-gallery/__tests__/gallery-pagination.test.tsx#L35
at <anonymous> (/home/runner/work/grits-greenbeans-grandmothers-next/grits-greenbeans-grandmothers-next/components/recipe-gallery/__tests__/gallery-pagination.test.tsx:35:18)
|
test pull request
Process completed with exit code 1.
|
test pull request
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|