Skip to content

feat(jex): add support for intersections #377

feat(jex): add support for intersections

feat(jex): add support for intersections #377

Triggered via pull request October 17, 2024 00:40
Status Failure
Total duration 31s
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 false if parent is an intersection of child: jex/src/jex-extends.test.ts#L19
AssertionError: { a: string } ⊆ { a: string } & { [key: string]: string }: expected true to equal false - Expected + Received - false + true ❯ Object.toExtend src/jex-extends.test.ts:19:33 ❯ src/jex-extends.test.ts:197:24
src/jex-extends.test.ts > jex-extends should be false if child is an intersection with less types than parent: jex/src/jex-extends.test.ts#L19
AssertionError: { a: string } & { b: number } ⊆ { a: string } & { b: number } & { [key: string]: string }: expected true to equal false - Expected + Received - false + true ❯ Object.toExtend src/jex-extends.test.ts:19:33 ❯ src/jex-extends.test.ts:217:24
jex
Process completed with exit code 1.