GQL-87: Bug: Surface cmr errors for user readability #562
Annotations
2 errors
src/permissions/__tests__/fallbackError.test.js > fallbackError > throws an error with the requestId present:
src/permissions/__tests__/fallbackError.test.js#L71
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:71:56
|
jest (lts/hydrogen)
Process completed with exit code 1.
|