Skip to content

unionOf, arrayOf, and tupleOf utilities #1036

unionOf, arrayOf, and tupleOf utilities

unionOf, arrayOf, and tupleOf utilities #1036

Triggered via pull request January 23, 2025 23:15
Status Failure
Total duration 37s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
src/services/tupleOf.spec.ts > given value is {} not an array, throws InvalidRouteParamValueError: src/services/tupleOf.spec.ts#L24
AssertionError: expected [Function action] to throw error including 'Expected an array' but got 'Expected a tuple' Expected: "Expected an array" Received: "Expected a tuple" ❯ src/services/tupleOf.spec.ts:24:18
src/services/tupleOf.spec.ts > given value is true not an array, throws InvalidRouteParamValueError: src/services/tupleOf.spec.ts#L24
AssertionError: expected [Function action] to throw error including 'Expected an array' but got 'Expected a tuple' Expected: "Expected an array" Received: "Expected a tuple" ❯ src/services/tupleOf.spec.ts:24:18
src/services/tupleOf.spec.ts > given value is not an array, throws InvalidRouteParamValueError: src/services/tupleOf.spec.ts#L24
AssertionError: expected [Function action] to throw error including 'Expected an array' but got 'Expected a tuple' Expected: "Expected an array" Received: "Expected a tuple" ❯ src/services/tupleOf.spec.ts:24:18
src/services/tupleOf.spec.ts > given value is Infinity not an array, throws InvalidRouteParamValueError: src/services/tupleOf.spec.ts#L24
AssertionError: expected [Function action] to throw error including 'Expected an array' but got 'Expected a tuple' Expected: "Expected an array" Received: "Expected a tuple" ❯ src/services/tupleOf.spec.ts:24:18
Unit Tests
Process completed with exit code 1.
Types
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636