GQL-109: Make cmr-grahphql calls to graphdb easier to use and make cmr-graphql more resistant to a graphdb outage #728
Annotations
2 errors
jest (lts/jod)
Process completed with exit code 1.
|
src/datasources/__tests__/graphDbDuplicateCollections.test.js > graphDb > duplicate collections > When graphdbEnabled is false > returns the parsed graphDb response:
src/datasources/__tests__/graphDbDuplicateCollections.test.js#L264
AssertionError: expected { count: 1, items: [ { …(4) } ] } to deeply equal { count: +0, items: [] }
- Expected
+ Received
Object {
- "count": 0,
- "items": Array [],
+ "count": 1,
+ "items": Array [
+ Object {
+ "doi": "10.5067/MEASURES/DMSP-F16/SSMIS/DATA301",
+ "id": "C1200383033-CMR_ONLY",
+ "shortName": "7333",
+ "title": "RSS SSMIS OCEAN PRODUCT GRIDS DAILY FROM DMSP F16 NETCDF V7",
+ },
+ ],
}
❯ src/datasources/__tests__/graphDbDuplicateCollections.test.js:264:26
|