Skip to content

feat: onboarding flow for the frontend #377

feat: onboarding flow for the frontend

feat: onboarding flow for the frontend #377

Triggered via pull request July 26, 2024 12:07
Status Failure
Total duration 57s
Artifacts

main.yml

on: pull_request
build-nextjs  /  nextjs-build
43s
build-nextjs / nextjs-build
unit-test-frontend  /  nextjs-unit-tests
27s
unit-test-frontend / nextjs-unit-tests
build-gocert  /  go-build
build-gocert / go-build
go-lint  /  lint
go-lint / lint
go-vet  /  go-vet
go-vet / go-vet
unit-test-gocert  /  go-unit-tests
unit-test-gocert / go-unit-tests
rock-build  /  build-rock
rock-build / build-rock
publish  /  publish-rock
publish / publish-rock
rock-scan  /  scan
rock-scan / scan
Fit to window
Zoom out
Zoom in

Annotations

3 errors
src/app/nav.test.tsx > Navigation > should open aside when clicking button: ui/src/app/login.tsx#L7
Error: [vitest] No "useRouter" export is defined on the "next/navigation" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock("next/navigation", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ AccountTab src/app/login.tsx:7:20 ❯ 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
unit-test-frontend / nextjs-unit-tests
Process completed with exit code 1.
build-nextjs / nextjs-build
Process completed with exit code 1.