booster
booster copied to clipboard
Replace nedb with fork `@seald-io/nedb`
Replace nedb with seald/nedb fork
End to end - Local provider integration tests fixed
/integration sha=53d5270
PR Summary
-
Shift in Datastore Dependency The code was updated in several places to use
@seald-io/nedb
instead ofnedb
. This is a slight modification with potentially better performance and improved overall efficiency. -
Expect Helper Migration In provider-unaware end-to-end integration tests, the utility to assert expected results is now sourced from a local helper instead of a third-party library. This update provides precise control over the assertion mechanism.
-
File Renaming The subscriptions integration test file was moved to a more appropriately named directory to better document its responsibility.
-
Dependency Updates in package.json Files The
package.json
files were updated to replace thenedb
dependency with@seald-io/nedb
. Furthermore, the@types/nedb
was removed from development dependencies suggesting a more straightforward dependency structure. -
Datastore Initialization Updates In several services, the
loadDatabase
method was replaced with anautoload: true
parameter when initializing the datastore. This makes for a cleaner, more effective database loading process. -
Transition to Async Methods In the event registry and read model registry tests, various methods were switched from synchronous to their asynchronous counterparts for efficient, non-blocking operations.
:x: Oh no! Integration tests have failed
/integration sha=6944e40
:white_check_mark: Integration tests have finished successfully!
/integration sha=b7e72ea
:white_check_mark: Integration tests have finished successfully!
/integration sha=15aeb32
:x: Oh no! Integration tests have failed
:x: Oh no! Integration tests have failed
/integration sha=fc643f7
:x: Oh no! Integration tests have failed
:white_check_mark: Integration tests have finished successfully!
:white_check_mark: Integration tests have finished successfully!
/integration sha=0b8c70fe3a76fcd7aaddc7d3a7da82cff12d0f70
:white_check_mark: Integration tests have finished successfully!