Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit cfdce9b

Browse files
seungparkcasthewiz
andauthored
* DOP-3203: Add upsert functionality, asset upserts * fixup * DOP-3203: Stub functions, Stub tests, finalized merge query + logic * DOP-3203: Reorder logic * Improve the typing * fixup * stub toctreeorder * fixup * fixup * fixup * fixup * fixup * Use project for node options, not name * fixup * DOP-3203: Invoke the merging logic * DOP-3203: Coalesce feedback * DOP-3203: Rename associations to associated_products * DOP-3203: Null safety w/ default empty objects in insertions * DOP-3203: Unset _id in new shared metadata documents * DOP-3203: Address feedback further * init test on connect. verify why errors not consoled * export testing fn * update jest config for jest mongodb * add tests for associated products * update tests for associated products. add comments for connector * add test cmd * change tests to snapshots * add tests+snapshots for ToC * minor. return awaited value * run linter for json files * revert index file Co-authored-by: Cassidy Schaufele <[email protected]>
1 parent 61df145 commit cfdce9b

File tree

16 files changed

+107438
-36
lines changed

16 files changed

+107438
-36
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
mongodbMemoryServerOptions: {
3+
binary: {
4+
version: '4.0.3',
5+
skipMD5: true,
6+
},
7+
autoStart: false,
8+
instance: {},
9+
},
10+
};

modules/persistence/jest.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
preset: '@shelf/jest-mongodb',
3+
testEnvironment: 'node',
4+
};

0 commit comments

Comments
 (0)