Files
sh 489b07ff4f ci: record package releases in simplex-chat-libs (#7719)
* ci: use default registries for empty variables

* ci: drop package publish tags

* ci: record releases in simplex-chat-libs

* ci: skip recorded versions in publish plan

* nodejs: raise default test timeout for migrations

* nodejs: print download progress without console.error

* nodejs: use the default timeout in migrating core tests
2026-10-14 15:10:31 +00:00

18 lines
521 B
JavaScript

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,
// a test with a new database runs every migration, each committed with a disk flush: seconds on slow CI runners
testTimeout: 30000,
testEnvironment: "node",
transform: {
'^.+\\.ts$': ['ts-jest', {
tsconfig: 'tests/tsconfig.json'
}]
}
}