Skip to content

feat(appointment): add Google event templates #506

feat(appointment): add Google event templates

feat(appointment): add Google event templates #506

Triggered via pull request September 8, 2026 13:41
Status Failure
Total duration 6m 16s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Lint
Process completed with exit code 2.
Lint
command (/home/runner/work/ChatbotX/ChatbotX/packages/database) /home/runner/setup-pnpm/node_modules/.bin/bin/pnpm run lint exited (2)
Tests
Process completed with exit code 1.
Tests
command (/home/runner/work/ChatbotX/ChatbotX/packages/business) /home/runner/setup-pnpm/node_modules/.bin/bin/pnpm run test exited (1)
__tests__/appointment-service-webview.test.ts > appointmentService.completeWebviewBooking > books past the default cap when maxAppointmentsPerUser is null (unlimited): packages/business/__tests__/appointment-service-webview.test.ts#L722
AssertionError: promise rejected "Error: [vitest] No "contactInboxRepositor… { codeFrame: '…' }" instead of resolving ❯ __tests__/appointment-service-webview.test.ts:722:5 Caused by: Caused by: Error: [vitest] No "contactInboxRepository" export is defined on the "@chatbotx.io/database/repositories" 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(import("@chatbotx.io/database/repositories"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ src/appointment/service.ts:363:36 ❯ Object.<anonymous> __tests__/appointment-service-webview.test.ts:557:47
__tests__/appointment-service-webview.test.ts > appointmentService.completeWebviewBooking > books the slot and enqueues the configured confirmation flow, without a duplicate chat confirmation: packages/business/__tests__/appointment-service-webview.test.ts#L616
AssertionError: promise rejected "Error: [vitest] No "contactInboxRepositor… { codeFrame: '…' }" instead of resolving ❯ __tests__/appointment-service-webview.test.ts:616:5 Caused by: Caused by: Error: [vitest] No "contactInboxRepository" export is defined on the "@chatbotx.io/database/repositories" 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(import("@chatbotx.io/database/repositories"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ src/appointment/service.ts:363:36 ❯ Object.<anonymous> __tests__/appointment-service-webview.test.ts:557:47