Skip to content

Add default values & improve validation #820

Add default values & improve validation

Add default values & improve validation #820

Triggered via push August 27, 2024 07:25
Status Failure
Total duration 1m 12s
Artifacts

unit-tests.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
_tests/homepage.tests.tsx: src/common/lib/navigation.ts#L28
Error: NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted ❯ Proxy.useRouter node_modules/next/src/client/router.ts:141:11 ❯ Module.useRouteQuery src/common/lib/navigation.ts:28:40 ❯ Module.useDonation src/modules/donation/hooks/index.ts:17:31 ❯ DonationRandomButton src/modules/donation/components/buttons.tsx:19:58 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626: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
build (20.x)
Process completed with exit code 1.
build (20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/