mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-06-26 16:13:57 +00:00
feat: add unit tests for replicateResultProcessor and refactor replicator logging
- Introduced unit tests for the replicateResultProcessor, covering various scenarios including document enqueuing, snapshot handling, and processing of non-document changes. - Refactored replicator to utilize a logging function from the host API instead of a global logger, enhancing log management. - Updated mismatchedTweaksResolver to include logging through the host API, ensuring consistent logging practices across the application. - Adjusted tests to mock the new logging behavior and verify log outputs.
This commit is contained in:
Generated
+3
-3
@@ -16210,7 +16210,7 @@
|
||||
},
|
||||
"src/apps/cli": {
|
||||
"name": "self-hosted-livesync-cli",
|
||||
"version": "0.25.77-cli",
|
||||
"version": "0.25.78-cli",
|
||||
"dependencies": {
|
||||
"chokidar": "^4.0.0",
|
||||
"minimatch": "^10.2.5",
|
||||
@@ -16236,7 +16236,7 @@
|
||||
},
|
||||
"src/apps/webapp": {
|
||||
"name": "livesync-webapp",
|
||||
"version": "0.25.77-webapp",
|
||||
"version": "0.25.78-webapp",
|
||||
"dependencies": {
|
||||
"octagonal-wheels": "^0.1.46"
|
||||
},
|
||||
@@ -16251,7 +16251,7 @@
|
||||
}
|
||||
},
|
||||
"src/apps/webpeer": {
|
||||
"version": "0.25.77-webpeer",
|
||||
"version": "0.25.78-webpeer",
|
||||
"dependencies": {
|
||||
"octagonal-wheels": "^0.1.46"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user