Skip to content

troubleshoot tests #105

troubleshoot tests

troubleshoot tests #105

Triggered via pull request January 12, 2025 00:41
Status Failure
Total duration 17s
Artifacts

unit-test.yaml

on: pull_request
test pull request
9s
test pull request
Fit to window
Zoom out
Zoom in

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