unionOf
, arrayOf
, and tupleOf
utilities
#1037
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
|