fix: api #16
Annotations
2 errors and 1 warning
tests-vitest/index.spec.tsx > Has index page:
src/pages/index.tsx#L11
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
❯ Home src/pages/index.tsx:11:18
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
|
Test
Process completed with exit code 1.
|
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|