nodejs: download prebuilt add-on at runtime

This commit is contained in:
shum committed 2026-10-10 12:27:31 +00:00
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,