fix: error cause bug #14163
Annotations
6 errors and 1 warning
|
map coverage
Process completed with exit code 1.
|
run tests with coverage:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `toThrow error-message fail isNot false 1`
- Snapshot - 2
+ Received + 2
<d>expect(</><r>received</><d>).</>toThrow<d>(</><g>expected</><d>)</>
- Expected message: <g>"apple"</>
+ Expected message: <g>"{ message: <i>apple</i> }"</>
- Received message: <r>"banana"</>
+ Received message: <r>"{ message: <i>banana</i> }"</>
↵
at Object.toThrowErrorMatchingSnapshot (packages/expect/src/__tests__/toThrowMatchers.test.ts:260:11)
|
run tests with coverage:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `toThrow error-message fail isNot true 1`
- Snapshot - 1
+ Received + 1
<d>expect(</><r>received</><d>).</>not<d>.</>toThrow<d>(</><g>expected</><d>)</>
- Expected message: not <g>"Invalid array length"</>
+ Expected message: not <g>"{ message: Invalid array length }"</>
↵
at Object.toThrowErrorMatchingSnapshot (packages/expect/src/__tests__/toThrowMatchers.test.ts:269:11)
|
run tests with coverage:
undefined#L1
expect(received).toThrowErrorMatchingSnapshot()
Snapshot name: `toThrow error-message fail multiline diff highlight incorrect expected space 1`
- Snapshot - 3
+ Received + 3
<d>expect(</><r>received</><d>).</>toThrow<d>(</><g>expected</><d>)</>
<g>- Expected message - 1</>
<r>+ Received message + 1</>
- <g>- There is no route defined for key Settings.<i> </i></>
+ <g>- { message: There is no route defined for key Settings.<i> </i></>
- <r>+ There is no route defined for key Settings.</>
+ <r>+ { message: There is no route defined for key Settings.</>
- <d> Must be one of: 'Home'</>
+ <d> Must be one of: 'Home' }</>
↵
at Object.toThrowErrorMatchingSnapshot (packages/expect/src/__tests__/toThrowMatchers.test.ts:282:11)
|
run tests with coverage
The operation was canceled.
|
Run codecov/codecov-action@v4
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Loading