Skip to content

feat: [P4PU-886] implement notifications and enhance cart functionality with item count badge #313

feat: [P4PU-886] implement notifications and enhance cart functionality with item count badge

feat: [P4PU-886] implement notifications and enhance cart functionality with item count badge #313

Triggered via pull request February 25, 2025 10:03
Status Failure
Total duration 2m 24s
Artifacts

sonar.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
src/utils/files.test.ts > downloadReceiptPDF function > is called without error: src/utils/files.test.ts#L14
TypeError: downloadReceiptPDF is not a function ❯ src/utils/files.test.ts:14:12
src/utils/files.test.ts > downloadReceiptPDF function > should trhow an Error when something goes wrong: src/utils/files.test.ts#L19
TypeError: downloadReceiptPDF is not a function ❯ src/utils/files.test.ts:19:12
src/components/Transactions/transactionDetail.test.tsx > TransactionDetails component > should render as expected: src/components/Transactions/transactionDetail.test.tsx#L17
TypeError: Cannot read properties of undefined (reading 'mockImplementation') ❯ src/components/Transactions/transactionDetail.test.tsx:17:24
src/components/Transactions/transactionDetail.test.tsx > TransactionDetails component > should show a toast if an error occurs while fetching the receipt: src/components/Transactions/transactionDetail.test.tsx#L22
TypeError: Cannot read properties of undefined (reading 'mockImplementation') ❯ src/components/Transactions/transactionDetail.test.tsx:22:24
src/components/Transactions/transactionDetail.test.tsx > TransactionDetails component > should truncate transactionId if longer than 20 : src/components/Transactions/transactionDetail.test.tsx#L33
TypeError: Cannot read properties of undefined (reading 'mockImplementation') ❯ src/components/Transactions/transactionDetail.test.tsx:33:24
sonarcloud
Process completed with exit code 1.
sonarcloud
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down