Changed resolve
function to be resolveReferences
to be more expli…
#27
Annotations
10 errors and 8 warnings
src/test/keyed.test.ts > KeyedSchema > should encode and decode a keyed object, with 1-level-deep references:
src/structure/keyed.ts#L42
Error: Tried to measure size of a reference directly. Resolve it instead.
❯ RefSchema.measure src/structure/keyed.ts:42:11
❯ OptionalSchema.measure src/structure/optional.ts:54:24
❯ ObjectSchema.measure src/structure/object.ts:91:16
❯ KeyedSchema.measure src/structure/keyed.ts:124:27
❯ Module.encodeAndDecode src/test/helpers/mock.ts:17:38
❯ src/test/keyed.test.ts:64:21
|
src/test/keyed.test.ts > KeyedSchema > should encode and decode a keyed object, with 2-level-deep references:
src/structure/keyed.ts#L42
Error: Tried to measure size of a reference directly. Resolve it instead.
❯ RefSchema.measure src/structure/keyed.ts:42:11
❯ OptionalSchema.measure src/structure/optional.ts:54:24
❯ ObjectSchema.measure src/structure/object.ts:91:16
❯ KeyedSchema.measure src/structure/keyed.ts:124:27
❯ Module.encodeAndDecode src/test/helpers/mock.ts:17:38
❯ src/test/keyed.test.ts:91:21
|
src/test/keyed.test.ts > KeyedSchema > should encode and decode a keyed object, with an inner keyed-object:
src/structure/keyed.ts#L42
Error: Tried to measure size of a reference directly. Resolve it instead.
❯ RefSchema.measure src/structure/keyed.ts:42:11
❯ OptionalSchema.measure src/structure/optional.ts:54:24
❯ ObjectSchema.measure src/structure/object.ts:91:16
❯ KeyedSchema.measure src/structure/keyed.ts:124:27
❯ Module.encodeAndDecode src/test/helpers/mock.ts:17:38
❯ src/test/keyed.test.ts:129:21
|
src/test/keyed.test.ts > KeyedSchema > should encode and decode a keyed generic object, with references:
src/structure/keyed.ts#L42
Error: Tried to measure size of a reference directly. Resolve it instead.
❯ RefSchema.measure src/structure/keyed.ts:42:11
❯ OptionalSchema.measure src/structure/optional.ts:54:24
❯ src/structure/object.ts:270:40
❯ GenericObjectSchema.measure src/structure/object.ts:270:10
❯ KeyedSchema.measure src/structure/keyed.ts:124:27
❯ Module.encodeAndDecode src/test/helpers/mock.ts:17:38
❯ src/test/keyed.test.ts:199:21
|
src/test/keyed.test.ts > KeyedSchema > should encode and decode a keyed enum generic object, no base props, with references:
src/structure/keyed.ts#L42
Error: Tried to measure size of a reference directly. Resolve it instead.
❯ RefSchema.measure src/structure/keyed.ts:42:11
❯ OptionalSchema.measure src/structure/optional.ts:54:24
❯ src/structure/object.ts:270:40
❯ GenericObjectSchema.measure src/structure/object.ts:270:10
❯ KeyedSchema.measure src/structure/keyed.ts:124:27
❯ Module.encodeAndDecode src/test/helpers/mock.ts:17:38
❯ src/test/keyed.test.ts:235:21
|
src/test/keyed.test.ts > KeyedSchema > should encode and decode a keyed enum generic object, with references:
src/structure/keyed.ts#L42
Error: Tried to measure size of a reference directly. Resolve it instead.
❯ RefSchema.measure src/structure/keyed.ts:42:11
❯ OptionalSchema.measure src/structure/optional.ts:54:24
❯ src/structure/object.ts:270:40
❯ GenericObjectSchema.measure src/structure/object.ts:270:10
❯ KeyedSchema.measure src/structure/keyed.ts:124:27
❯ Module.encodeAndDecode src/test/helpers/mock.ts:17:38
❯ src/test/keyed.test.ts:277:21
|
test (ubuntu-latest, 20.x)
Process completed with exit code 1.
|
test (windows-latest, 16.x)
The operation was canceled.
|
test (ubuntu-latest, 16.x)
The operation was canceled.
|
test (windows-latest, 20.x)
The operation was canceled.
|
test (ubuntu-latest, 20.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (ubuntu-latest, 20.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test (windows-latest, 16.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (windows-latest, 16.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test (ubuntu-latest, 16.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (ubuntu-latest, 16.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test (windows-latest, 20.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (windows-latest, 20.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|