mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 00:02:28 +00:00
nodejs: download prebuilt add-on at runtime
This commit is contained in:
1 parent
f9071033c0
commit
6f2fb68b2d
41 files changed
+268
-111
No files matched your search
@@ -1,3 +1,8 @@
|
||||
const path = require("path")
|
||||
|
||||
// Tests load the locally built add-on instead of downloading the released one.
|
||||
process.env.SIMPLEX_ADDON_PATH ??= path.join(__dirname, "build", "Release", "simplex.node")
|
||||
|
||||
module.exports = {
|
||||
preset: "ts-jest",
|
||||
maxWorkers: 1,
|
||||
|
||||
Reference in new issue
Block a user