Skip to content

Fix: tests

Fix: tests #28

Triggered via pull request September 21, 2024 16:18
Status Failure
Total duration 49s
Artifacts

tests.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors
src/components/App.test.tsx > renders discord link: node_modules/react-bootstrap/cjs/Offcanvas.js#L73
TypeError: targetWindow.matchMedia is not a function ❯ getMatcher ../../node_modules/@restart/hooks/cjs/useMediaQuery.js:15:24 ❯ useMediaQuery ../../node_modules/@restart/hooks/cjs/useMediaQuery.js:41:15 ❯ useBreakpoint ../../node_modules/@restart/hooks/cjs/useBreakpoint.js:110:39 ❯ ../../node_modules/react-bootstrap/cjs/Offcanvas.js:73:62 ❯ renderWithHooks ../../node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ updateForwardRef ../../node_modules/react-dom/cjs/react-dom.development.js:19245:20 ❯ beginWork ../../node_modules/react-dom/cjs/react-dom.development.js:21675:16 ❯ beginWork$1 ../../node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork ../../node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync ../../node_modules/react-dom/cjs/react-dom.development.js:26505:5
tests (ubuntu-latest)
Process completed with exit code 1.