Skip to content

Update exports

Update exports #42

Triggered via push March 1, 2024 09:18
Status Failure
Total duration 30s
Artifacts

ci.yml

on: push
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 2 warnings
test/index.test.ts > superstruct > validation > defaulted > mixin: test/index.test.ts#L68
AssertionError: Expected values to be strictly deep-equal: + actual - expected + 0 - { - title: 'Untitled', - version: 0 - } - Expected: Object { "title": "Untitled", "version": 0, } + Received: 0 ❯ test/index.test.ts:68:22
test/index.test.ts > superstruct > validation > defaulted > nested-double: test/index.test.ts#L68
AssertionError: Expected values to be strictly deep-equal: + actual - expected + 'Untitled' - { - book: { - title: 'Untitled' - } - } - Expected: Object { "book": Object { "title": "Untitled", }, } + Received: "Untitled" ❯ test/index.test.ts:68:22
test/index.test.ts > superstruct > validation > defaulted > nested: test/index.test.ts#L68
AssertionError: Expected values to be strictly deep-equal: + actual - expected + 'Untitled' - { - title: 'Untitled' - } - Expected: Object { "title": "Untitled", } + Received: "Untitled" ❯ test/index.test.ts:68:22
test/index.test.ts > superstruct > validation > union > coercion-object: src/utils.ts#L177
TypeError: Cannot read properties of undefined (reading 'coercer') ❯ Module.run src/utils.ts:177:20 ❯ Module.shiftIterator src/utils.ts:65:33 ❯ validate src/struct.ts:227:17 ❯ validate src/struct.ts:123:12 ❯ Struct.coercer src/structs/types.ts:694:34 ❯ Module.run src/utils.ts:177:20 ❯ Module.shiftIterator src/utils.ts:65:33 ❯ validate src/struct.ts:227:17
test/index.test.ts > superstruct > validation > union > coercion-type: src/utils.ts#L177
TypeError: Cannot read properties of undefined (reading 'coercer') ❯ Module.run src/utils.ts:177:20 ❯ Module.shiftIterator src/utils.ts:65:33 ❯ validate src/struct.ts:227:17 ❯ validate src/struct.ts:123:12 ❯ Struct.coercer src/structs/types.ts:694:34 ❯ Module.run src/utils.ts:177:20 ❯ Module.shiftIterator src/utils.ts:65:33 ❯ validate src/struct.ts:227:17
test/index.test.ts > superstruct > validation > union > coercion: src/utils.ts#L177
TypeError: Cannot read properties of undefined (reading 'coercer') ❯ Module.run src/utils.ts:177:20 ❯ Module.shiftIterator src/utils.ts:65:33 ❯ validate src/struct.ts:227:17 ❯ validate src/struct.ts:123:12 ❯ Struct.coercer src/structs/types.ts:694:34 ❯ Module.run src/utils.ts:177:20 ❯ Module.shiftIterator src/utils.ts:65:33 ❯ validate src/struct.ts:227:17
test/api/create.test.ts > create > missing optional fields remain missing: test/api/create.test.ts#L41
AssertionError: Expected values to be loosely deep-equal: undefined should loosely deep-equal { a: 'a' } ❯ test/api/create.test.ts:41:5
test/api/create.test.ts > create > explicit undefined values are kept: test/api/create.test.ts#L50
AssertionError: Expected values to be strictly deep-equal: + actual - expected + undefined - { - a: 'a', - b: undefined, - c: undefined - } ❯ test/api/create.test.ts:50:5
test/api/mask.test.ts > mask > object as helper: test/api/mask.test.ts#L18
AssertionError: Expected values to be strictly deep-equal: + actual - expected + '1' - { - id: '1' - } - Expected: Object { "id": "1", } + Received: "1" ❯ test/api/mask.test.ts:18:5
test/api/mask.test.ts > mask > coercing: test/api/mask.test.ts#L32
AssertionError: Expected values to be strictly deep-equal: + actual - expected + '0' - { - id: '0' - } - Expected: Object { "id": "0", } + Received: "0" ❯ test/api/mask.test.ts:32:5
ci (18.x)
The job was canceled because "_20_x" failed.
test/index.test.ts > superstruct > validation > defaulted > mixin: test/index.test.ts#L68
AssertionError: Expected values to be strictly deep-equal: + actual - expected + 0 - { - title: 'Untitled', - version: 0 - } - Expected: Object { "title": "Untitled", "version": 0, } + Received: 0 ❯ test/index.test.ts:68:22
test/index.test.ts > superstruct > validation > defaulted > nested-double: test/index.test.ts#L68
AssertionError: Expected values to be strictly deep-equal: + actual - expected + 'Untitled' - { - book: { - title: 'Untitled' - } - } - Expected: Object { "book": Object { "title": "Untitled", }, } + Received: "Untitled" ❯ test/index.test.ts:68:22
test/index.test.ts > superstruct > validation > defaulted > nested: test/index.test.ts#L68
AssertionError: Expected values to be strictly deep-equal: + actual - expected + 'Untitled' - { - title: 'Untitled' - } - Expected: Object { "title": "Untitled", } + Received: "Untitled" ❯ test/index.test.ts:68:22
test/index.test.ts > superstruct > validation > union > coercion-object: src/utils.ts#L177
TypeError: Cannot read properties of undefined (reading 'coercer') ❯ Module.run src/utils.ts:177:20 ❯ Module.shiftIterator src/utils.ts:65:33 ❯ validate src/struct.ts:227:17 ❯ validate src/struct.ts:123:12 ❯ Struct.coercer src/structs/types.ts:694:34 ❯ Module.run src/utils.ts:177:20 ❯ Module.shiftIterator src/utils.ts:65:33 ❯ validate src/struct.ts:227:17
test/index.test.ts > superstruct > validation > union > coercion-type: src/utils.ts#L177
TypeError: Cannot read properties of undefined (reading 'coercer') ❯ Module.run src/utils.ts:177:20 ❯ Module.shiftIterator src/utils.ts:65:33 ❯ validate src/struct.ts:227:17 ❯ validate src/struct.ts:123:12 ❯ Struct.coercer src/structs/types.ts:694:34 ❯ Module.run src/utils.ts:177:20 ❯ Module.shiftIterator src/utils.ts:65:33 ❯ validate src/struct.ts:227:17
test/index.test.ts > superstruct > validation > union > coercion: src/utils.ts#L177
TypeError: Cannot read properties of undefined (reading 'coercer') ❯ Module.run src/utils.ts:177:20 ❯ Module.shiftIterator src/utils.ts:65:33 ❯ validate src/struct.ts:227:17 ❯ validate src/struct.ts:123:12 ❯ Struct.coercer src/structs/types.ts:694:34 ❯ Module.run src/utils.ts:177:20 ❯ Module.shiftIterator src/utils.ts:65:33 ❯ validate src/struct.ts:227:17
test/api/create.test.ts > create > missing optional fields remain missing: test/api/create.test.ts#L41
AssertionError: Expected values to be loosely deep-equal: undefined should loosely deep-equal { a: 'a' } ❯ test/api/create.test.ts:41:5
test/api/create.test.ts > create > explicit undefined values are kept: test/api/create.test.ts#L50
AssertionError: Expected values to be strictly deep-equal: + actual - expected + undefined - { - a: 'a', - b: undefined, - c: undefined - } ❯ test/api/create.test.ts:50:5
test/api/mask.test.ts > mask > object as helper: test/api/mask.test.ts#L18
AssertionError: Expected values to be strictly deep-equal: + actual - expected + '1' - { - id: '1' - } - Expected: Object { "id": "1", } + Received: "1" ❯ test/api/mask.test.ts:18:5
test/api/mask.test.ts > mask > coercing: test/api/mask.test.ts#L32
AssertionError: Expected values to be strictly deep-equal: + actual - expected + '0' - { - id: '0' - } - Expected: Object { "id": "0", } + Received: "0" ❯ test/api/mask.test.ts:32:5
ci (20.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ci (20.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/