nodejs: add tests to library (#7694)

* nodejs: add tests to library

* new tests

* remove message splitting

* fix race

* docs

* replace extract-zip with yauzl that it wraps (high severity issue)

* fix ci tests

* skip server tests on macos and win unless SMP_SERVER is set

* fix win test

* fix win test

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
This commit is contained in:
EvgenyandEvgeny @ SimpleX Chat authored and GitHub committed 2026-10-19 19:49:44 +01:00
1 parent ba9269a3ad
commit 46b2cf9f85
73 files changed
+957 -265

No files matched your search

+5 -4
View File
@@ -25,15 +25,16 @@
},
"dependencies": {
"@simplex-chat/types": "^7.1.0-beta.6.2",
"extract-zip": "^2.0.1",
"fast-deep-equal": "^3.1.3"
"fast-deep-equal": "^3.1.3",
"yauzl": "^3.4.0"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^25.0.5",
"jest": "^30.2.0",
"@types/yauzl": "^3.4.0",
"jest": "^30.5.2",
"node-addon-api": "^8.5.0",
"ts-jest": "^29.4.6",
"ts-jest": "^29.4.15",
"typedoc": "^0.28.15",
"typedoc-plugin-markdown": "^4.9.0",
"typescript": "^5.9.3"