Skip to content

fix ts error of unused var in admin/dashboard #230

fix ts error of unused var in admin/dashboard

fix ts error of unused var in admin/dashboard #230

Triggered via pull request February 5, 2025 04:47
Status Failure
Total duration 30s
Artifacts

test-frontend.yml

on: pull_request
Test Frontend
20s
Test Frontend
Fit to window
Zoom out
Zoom in

Annotations

6 errors
src/utils/form-validation.test.ts > createZodSchema > should create a URL validation schema: frontend/src/utils/form-validation.test.ts#L17
AssertionError: expected [] to have a length of 1 but got +0 - Expected + Received - 1 + 0 ❯ src/utils/form-validation.test.ts:17:25
src/utils/form-validation.test.ts > createZodSchema > should handle multiple validation rules: frontend/src/utils/form-validation.test.ts#L36
AssertionError: expected [] to have a length of 2 but got +0 - Expected + Received - 2 + 0 ❯ src/utils/form-validation.test.ts:36:25
src/utils/form-validation.test.ts > createZodSchema > should throw error for invalid validation type: frontend/src/utils/form-validation.test.ts#L47
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ src/utils/form-validation.test.ts:47:56
src/utils/form-validation.test.ts > createZodSchema > should throw error when one of multiple validations is invalid: frontend/src/utils/form-validation.test.ts#L53
AssertionError: expected [Function] to throw an error - Expected: null + Received: undefined ❯ src/utils/form-validation.test.ts:53:63
src/components/AnchorLinks/AnchorLinks.test.tsx > AnchorLinks > should render all provided links: frontend/src/components/AnchorLinks/AnchorLinks.test.tsx#L24
AssertionError: expected '1.one' to deeply equal 'one' Expected: "one" Received: "1.one" ❯ src/components/AnchorLinks/AnchorLinks.test.tsx:24:38 ❯ src/components/AnchorLinks/AnchorLinks.test.tsx:23:15
Test Frontend
Process completed with exit code 1.