Skip to content

Commit

Permalink
fix was32-wasi async test
Browse files Browse the repository at this point in the history
  • Loading branch information
toyobayashi committed Aug 25, 2023
1 parent 8d4e9e3 commit 3752e2d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/test/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ function loadPath (request, options) {
})
const napiModule = createNapiModule({
context,
asyncWorkPoolSize: RUNTIME_UV_THREADPOOL_SIZE,
asyncWorkPoolSize: process.env.EMNAPI_TEST_WASI_THREADS
? RUNTIME_UV_THREADPOOL_SIZE
: -RUNTIME_UV_THREADPOOL_SIZE,
filename: request,
reuseWorker: true,
onCreateWorker () {
Expand Down

0 comments on commit 3752e2d

Please sign in to comment.