@uppy/core: remove reason
#6967
ci.yml
on: pull_request
Type tests
2m 14s
Matrix: Unit tests
Annotations
7 errors
packages/@uppy/core/src/Uppy.test.ts > src/Core > should cancel all when the `cancelAll` method is called:
packages/@uppy/core/src/Uppy.test.ts#L365
AssertionError: expected "spy" to be called with arguments: [ { reason: 'user' }, undefined, …(4) ]
Received:
1st spy call:
Array [
- Object {
- "reason": "user",
- },
+ undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
]
Number of calls: 1
❯ packages/@uppy/core/src/Uppy.test.ts:365:33
|
packages/@uppy/core/src/Uppy.test.ts > src/Core > should close, reset and uninstall when the close method is called:
packages/@uppy/core/src/Uppy.test.ts#L557
AssertionError: expected "spy" to be called with arguments: [ { reason: 'user' }, undefined, …(4) ]
Received:
1st spy call:
Array [
- Object {
- "reason": "user",
- },
+ undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
]
Number of calls: 1
❯ packages/@uppy/core/src/Uppy.test.ts:557:33
|
Unit tests (18.x)
Process completed with exit code 1.
|
Unit tests (20.x)
The job was canceled because "_18_x" failed.
|
packages/@uppy/core/src/Uppy.test.ts > src/Core > should cancel all when the `cancelAll` method is called:
packages/@uppy/core/src/Uppy.test.ts#L365
AssertionError: expected "spy" to be called with arguments: [ { reason: 'user' }, undefined, …(4) ]
Received:
1st spy call:
Array [
- Object {
- "reason": "user",
- },
+ undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
]
Number of calls: 1
❯ packages/@uppy/core/src/Uppy.test.ts:365:33
|
packages/@uppy/core/src/Uppy.test.ts > src/Core > should close, reset and uninstall when the close method is called:
packages/@uppy/core/src/Uppy.test.ts#L557
AssertionError: expected "spy" to be called with arguments: [ { reason: 'user' }, undefined, …(4) ]
Received:
1st spy call:
Array [
- Object {
- "reason": "user",
- },
+ undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
]
Number of calls: 1
❯ packages/@uppy/core/src/Uppy.test.ts:557:33
|
Unit tests (20.x)
The operation was canceled.
|