Added Dashboard to comet-stater-next #12
code-quality.yaml
on: pull_request
run-test-checks
24s
Annotations
2 errors and 1 warning
src/app/details/details.test.tsx > Details component > Details component renders:
src/app/details/[id].tsx#L17
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
❯ Details src/app/details/[id].tsx:17:18
❯ 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
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7
❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20
|
run-test-checks
Process completed with exit code 1.
|
run-test-checks
The following actions uses Node.js version which is deprecated 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/
|