Build package with tsup
#41
Annotations
10 errors and 2 warnings
Run yarn && yarn test && yarn lint:
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
|
Run yarn && yarn test && yarn lint:
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
|
Run yarn && yarn test && yarn lint:
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
|
Run yarn && yarn test && yarn lint:
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
|
Run yarn && yarn test && yarn lint:
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
|
Run yarn && yarn test && yarn lint:
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
|
Run yarn && yarn test && yarn lint:
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
|
Run yarn && yarn test && yarn lint:
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
|
Run yarn && yarn test && yarn lint:
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
|
Run yarn && yarn test && yarn lint:
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
|
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/.
|
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/
|
Loading