Skip to content

Infer refs

Infer refs #32

Triggered via pull request October 15, 2025 07:51
Status Failure
Total duration 22s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Benchmark Types
Process completed with exit code 1.
tests/infer.test.ts > InferType handles blob primitive: tests/infer.test.ts#L135
AssertionError: Expected values to be strictly equal: + actual - expected + '{ id: "test.blob"; image?: Blob | undefined }' - '{ image?: Blob | undefined }' ^ Expected: "{ image?: Blob | undefined }" Received: "{ id: "test.blob"; image?: Blob | undefined }" ❯ tests/infer.test.ts:135:2
tests/infer.test.ts > InferType handles bytes primitive: tests/infer.test.ts#L123
AssertionError: Expected values to be strictly equal: + actual - expected + '{\n id: "test.bytes"\n data?: Uint8Array<ArrayBufferLike> | undefined\n}' - '{ data?: Uint8Array<ArrayBufferLike> | undefined }' - Expected + Received - { data?: Uint8Array<ArrayBufferLike> | undefined } + { + id: "test.bytes" + data?: Uint8Array<ArrayBufferLike> | undefined + } ❯ tests/infer.test.ts:123:2
tests/infer.test.ts > InferType handles unknown primitive: tests/infer.test.ts#L113
AssertionError: Expected values to be strictly equal: + actual - expected + '{ id: "test.unknown"; metadata?: unknown }' - '{ metadata?: unknown }' ^ Expected: "{ metadata?: unknown }" Received: "{ id: "test.unknown"; metadata?: unknown }" ❯ tests/infer.test.ts:113:2
tests/infer.test.ts > InferType handles null primitive: tests/infer.test.ts#L101
AssertionError: Expected values to be strictly equal: + actual - expected + '{ id: "test.null"; nullValue?: null | undefined }' - '{ nullValue?: null | undefined }' Expected: "{ nullValue?: null | undefined }" Received: "{ id: "test.null"; nullValue?: null | undefined }" ❯ tests/infer.test.ts:101:2
tests/infer.test.ts > InferType handles boolean primitive: tests/infer.test.ts#L88
AssertionError: Expected values to be strictly equal: + actual - expected + '{\n' + + ' id: "test.boolean"\n' + + ' isActive?: boolean | undefined\n' + + ' hasAccess: boolean\n' + + '}' - '{\n isActive?: boolean | undefined\n hasAccess: boolean\n}' - Expected + Received { + id: "test.boolean" isActive?: boolean | undefined hasAccess: boolean } ❯ tests/infer.test.ts:88:2
tests/infer.test.ts > InferType handles integer primitive: tests/infer.test.ts#L74
AssertionError: Expected values to be strictly equal: + actual - expected + '{\n' + + ' id: "test.integer"\n' + + ' count?: number | undefined\n' + + ' age?: number | undefined\n' + + '}' - '{\n count?: number | undefined\n age?: number | undefined\n}' - Expected + Received { + id: "test.integer" count?: number | undefined age?: number | undefined } ❯ tests/infer.test.ts:74:2
tests/infer.test.ts > InferType handles string primitive: tests/infer.test.ts#L61
AssertionError: Expected values to be strictly equal: + actual - expected + '{\n id: "test.string"\n simpleString?: string | undefined\n}' - '{ simpleString?: string | undefined }' - Expected + Received - { simpleString?: string | undefined } + { + id: "test.string" + simpleString?: string | undefined + } ❯ tests/infer.test.ts:61:2
tests/infer.test.ts > InferObject handles nullable fields: tests/infer.test.ts#L47
AssertionError: Expected values to be strictly equal: + actual - expected + '{ id: "test"; nullable: string | null }' - '{ nullable: string | null }' ^ Expected: "{ nullable: string | null }" Received: "{ id: "test"; nullable: string | null }" ❯ tests/infer.test.ts:47:2
tests/infer.test.ts > InferObject handles required fields: tests/infer.test.ts#L35
AssertionError: Expected values to be strictly equal: + actual - expected + '{\n id: "test"\n optional?: string | undefined\n required: string\n}' - '{ optional?: string | undefined; required: string }' - Expected + Received - { optional?: string | undefined; required: string } + { + id: "test" + optional?: string | undefined + required: string + } ❯ tests/infer.test.ts:35:2
tests/infer.test.ts > InferNS produces expected type shape: tests/infer.test.ts#L19
AssertionError: Expected values to be strictly equal: + actual - expected '{\n' + + ' id: "com.example.post"\n' + ' tags?: string[] | undefined\n' + ' likes?: number | undefined\n' + ' createdAt: string\n' + ' text: string\n' + '}' - Expected + Received { + id: "com.example.post" tags?: string[] | undefined likes?: number | undefined createdAt: string text: string } ❯ tests/infer.test.ts:19:2