GQL-87: Bug: Surface cmr errors for user readability #565
Annotations
3 errors
Run Jest tests:
src/permissions/__tests__/fallbackError.test.js#L71
AssertionError: expected 'Cannot destructure property \'code\' …' to deeply equal 'Cannot destructure property \'code\' …'
- Expected
+ Received
- Cannot destructure property 'code' of '((cov_1is6xnfz3i(...).s[4]++) , extensions)' as it is undefined.
+ Cannot destructure property 'code' of '((cov_1vlfoo4cq6(...).s[4]++) , extensions)' as it is undefined.
❯ src/permissions/__tests__/fallbackError.test.js:71:56
|
Run Jest tests:
src/permissions/__tests__/fallbackError.test.js#L110
AssertionError: expected 'Cannot destructure property \'code\' …' to deeply equal 'An unknown error occurred. Please ref…'
- Expected
+ Received
- An unknown error occurred. Please refer to the ID mock-request-id when contacting Earthdata Operations (support@earthdata.nasa.gov).
+ Cannot destructure property 'code' of '((cov_1vlfoo4cq6(...).s[4]++) , extensions)' as it is undefined.
❯ src/permissions/__tests__/fallbackError.test.js:110:56
|
Run Jest tests
Process completed with exit code 1.
|
Loading