Check worker_thread again

This commit is contained in:
LongYinan committed 2022-05-10 17:40:50 +08:00
1 parent 9f953e0853
commit d26860896f
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -16,3 +16,7 @@ codegen-units = 1
lto = true
overflow-checks = false
strip = 'symbols'
[patch.crates-io]
napi = { git = "https://github.com/napi-rs/napi-rs", branch = "remove-thread-local" }
napi-derive = { git = "https://github.com/napi-rs/napi-rs", branch = "remove-thread-local" }
+1 -1
View File
@@ -1,6 +1,6 @@
module.exports = {
extensions: ['ts'],
workerThreads: false,
workerThreads: true,
require: ['@swc-node/register'],
files: ['packages/**/*.spec.ts'],
timeout: '3m',