Skip to content

feat: add link to newspaper title in catalogue #387

feat: add link to newspaper title in catalogue

feat: add link to newspaper title in catalogue #387

Triggered via push September 9, 2024 11:36
Status Failure
Total duration 1m 28s
Artifacts

ci_pipeline.yml

on: push
Run linter and tests
1m 6s
Run linter and tests
Create and push Docker image
0s
Create and push Docker image
Deploy stage environment
0s
Deploy stage environment
Fit to window
Zoom out
Zoom in

Annotations

9 errors
__tests__/app/[id]/page.test.tsx > Title page has title: src/app/[id]/page.tsx#L81
Error: [vitest] No "getLinkToNewspaperInCatalog" export is defined on the "@/services/catalog.data" 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("@/services/catalog.data", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ src/app/[id]/page.tsx:81:10 ❯ commitHookEffectListMount node_modules/react-dom/cjs/react-dom.development.js:23150:26 ❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom.development.js:24931:11 ❯ commitPassiveMountEffects_complete node_modules/react-dom/cjs/react-dom.development.js:24891:9 ❯ commitPassiveMountEffects_begin node_modules/react-dom/cjs/react-dom.development.js:24878:7 ❯ commitPassiveMountEffects node_modules/react-dom/cjs/react-dom.development.js:24866:3 ❯ flushPassiveEffectsImpl node_modules/react-dom/cjs/react-dom.development.js:27039:3 ❯ flushPassiveEffects node_modules/react-dom/cjs/react-dom.development.js:26984:14
__tests__/app/[id]/page.test.tsx > Title page displays loading text: src/app/[id]/page.tsx#L81
Error: [vitest] No "getLinkToNewspaperInCatalog" export is defined on the "@/services/catalog.data" 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("@/services/catalog.data", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ src/app/[id]/page.tsx:81:10 ❯ commitHookEffectListMount node_modules/react-dom/cjs/react-dom.development.js:23150:26 ❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom.development.js:24931:11 ❯ commitPassiveMountEffects_complete node_modules/react-dom/cjs/react-dom.development.js:24891:9 ❯ commitPassiveMountEffects_begin node_modules/react-dom/cjs/react-dom.development.js:24878:7 ❯ commitPassiveMountEffects node_modules/react-dom/cjs/react-dom.development.js:24866:3 ❯ flushPassiveEffectsImpl node_modules/react-dom/cjs/react-dom.development.js:27039:3 ❯ flushPassiveEffects node_modules/react-dom/cjs/react-dom.development.js:26984:14
__tests__/app/[id]/page.test.tsx > Title page displays shelf: src/app/[id]/page.tsx#L81
Error: [vitest] No "getLinkToNewspaperInCatalog" export is defined on the "@/services/catalog.data" 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("@/services/catalog.data", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ src/app/[id]/page.tsx:81:10 ❯ commitHookEffectListMount node_modules/react-dom/cjs/react-dom.development.js:23150:26 ❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom.development.js:24931:11 ❯ commitPassiveMountEffects_complete node_modules/react-dom/cjs/react-dom.development.js:24891:9 ❯ commitPassiveMountEffects_begin node_modules/react-dom/cjs/react-dom.development.js:24878:7 ❯ commitPassiveMountEffects node_modules/react-dom/cjs/react-dom.development.js:24866:3 ❯ flushPassiveEffectsImpl node_modules/react-dom/cjs/react-dom.development.js:27039:3 ❯ flushPassiveEffects node_modules/react-dom/cjs/react-dom.development.js:26984:14
__tests__/app/[id]/page.test.tsx > Title page displays contact info: src/app/[id]/page.tsx#L81
Error: [vitest] No "getLinkToNewspaperInCatalog" export is defined on the "@/services/catalog.data" 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("@/services/catalog.data", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ src/app/[id]/page.tsx:81:10 ❯ commitHookEffectListMount node_modules/react-dom/cjs/react-dom.development.js:23150:26 ❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom.development.js:24931:11 ❯ commitPassiveMountEffects_complete node_modules/react-dom/cjs/react-dom.development.js:24891:9 ❯ commitPassiveMountEffects_begin node_modules/react-dom/cjs/react-dom.development.js:24878:7 ❯ commitPassiveMountEffects node_modules/react-dom/cjs/react-dom.development.js:24866:3 ❯ flushPassiveEffectsImpl node_modules/react-dom/cjs/react-dom.development.js:27039:3 ❯ flushPassiveEffects node_modules/react-dom/cjs/react-dom.development.js:26984:14
__tests__/app/[id]/page.test.tsx > Title page displays release pattern: src/app/[id]/page.tsx#L81
Error: [vitest] No "getLinkToNewspaperInCatalog" export is defined on the "@/services/catalog.data" 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("@/services/catalog.data", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ src/app/[id]/page.tsx:81:10 ❯ commitHookEffectListMount node_modules/react-dom/cjs/react-dom.development.js:23150:26 ❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom.development.js:24931:11 ❯ commitPassiveMountEffects_complete node_modules/react-dom/cjs/react-dom.development.js:24891:9 ❯ commitPassiveMountEffects_begin node_modules/react-dom/cjs/react-dom.development.js:24878:7 ❯ commitPassiveMountEffects node_modules/react-dom/cjs/react-dom.development.js:24866:3 ❯ flushPassiveEffectsImpl node_modules/react-dom/cjs/react-dom.development.js:27039:3 ❯ flushPassiveEffects node_modules/react-dom/cjs/react-dom.development.js:26984:14
__tests__/app/[id]/page.test.tsx > Title page displays notes: src/app/[id]/page.tsx#L81
Error: [vitest] No "getLinkToNewspaperInCatalog" export is defined on the "@/services/catalog.data" 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("@/services/catalog.data", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ src/app/[id]/page.tsx:81:10 ❯ commitHookEffectListMount node_modules/react-dom/cjs/react-dom.development.js:23150:26 ❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom.development.js:24931:11 ❯ commitPassiveMountEffects_complete node_modules/react-dom/cjs/react-dom.development.js:24891:9 ❯ commitPassiveMountEffects_begin node_modules/react-dom/cjs/react-dom.development.js:24878:7 ❯ commitPassiveMountEffects node_modules/react-dom/cjs/react-dom.development.js:24866:3 ❯ flushPassiveEffectsImpl node_modules/react-dom/cjs/react-dom.development.js:27039:3 ❯ flushPassiveEffects node_modules/react-dom/cjs/react-dom.development.js:26984:14
__tests__/app/[id]/page.test.tsx > Title page displays issues: src/app/[id]/page.tsx#L81
Error: [vitest] No "getLinkToNewspaperInCatalog" export is defined on the "@/services/catalog.data" 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("@/services/catalog.data", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ src/app/[id]/page.tsx:81:10 ❯ commitHookEffectListMount node_modules/react-dom/cjs/react-dom.development.js:23150:26 ❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom.development.js:24931:11 ❯ commitPassiveMountEffects_complete node_modules/react-dom/cjs/react-dom.development.js:24891:9 ❯ commitPassiveMountEffects_begin node_modules/react-dom/cjs/react-dom.development.js:24878:7 ❯ commitPassiveMountEffects node_modules/react-dom/cjs/react-dom.development.js:24866:3 ❯ flushPassiveEffectsImpl node_modules/react-dom/cjs/react-dom.development.js:27039:3 ❯ flushPassiveEffects node_modules/react-dom/cjs/react-dom.development.js:26984:14
__tests__/app/[id]/page.test.tsx > Title page displays option to add info if newspaper not present in local db: src/app/[id]/page.tsx#L81
Error: [vitest] No "getLinkToNewspaperInCatalog" export is defined on the "@/services/catalog.data" 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("@/services/catalog.data", async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ src/app/[id]/page.tsx:81:10 ❯ commitHookEffectListMount node_modules/react-dom/cjs/react-dom.development.js:23150:26 ❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom.development.js:24931:11 ❯ commitPassiveMountEffects_complete node_modules/react-dom/cjs/react-dom.development.js:24891:9 ❯ commitPassiveMountEffects_begin node_modules/react-dom/cjs/react-dom.development.js:24878:7 ❯ commitPassiveMountEffects node_modules/react-dom/cjs/react-dom.development.js:24866:3 ❯ flushPassiveEffectsImpl node_modules/react-dom/cjs/react-dom.development.js:27039:3 ❯ flushPassiveEffects node_modules/react-dom/cjs/react-dom.development.js:26984:14
Run linter and tests
Process completed with exit code 1.