Skip to content

feat(jex): add support for intersections #376

feat(jex): add support for intersections

feat(jex): add support for intersections #376

Triggered via pull request October 16, 2024 22:58
Status Failure
Total duration 30s
Artifacts

jex.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
src/jex-extends.test.ts > jex-extends should be true if child is an intersection with more types than parent: jex/src/jex-extends.test.ts#L24
AssertionError: - #: string ⊈ number - #: number ⊈ string - #: boolean ⊈ string - #: boolean ⊈ number : expected false to equal true - Expected + Received - true + false ❯ Object.toExtend src/jex-extends.test.ts:24:31 ❯ src/jex-extends.test.ts:208:20
src/jex-extends.test.ts > jex-extends should be true if child is an intersection of objects that meets all requirements of parent: jex/src/jex-extends.test.ts#L24
AssertionError: - #.b: undefined ⊈ number - #.a: undefined ⊈ string - #.a: undefined ⊈ string - #.b: undefined ⊈ number : expected false to equal true - Expected + Received - true + false ❯ Object.toExtend src/jex-extends.test.ts:24:31 ❯ src/jex-extends.test.ts:222:20
jex
Process completed with exit code 1.