diff --git a/package.json b/package.json index b1bcb04..546e994 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "lint": "eslint --max-warnings=0 .", "issue": "cd issue && tsc && node issue.js", "prepare": "copyfiles -f ./node_modules/@dlemstra/magick-native/NOTICE . && copyfiles -f ./node_modules/@dlemstra/magick-native/magick.wasm dist", - "test": "vitest run --poolOptions.threads.isolate false", + "test": "vitest run", "test-dist": "node tests/dist/test-dist", "update-index": "cd tools && tsc && node update-index.js ../src" }, diff --git a/vite.config.ts b/vite.config.ts index 795975d..37a7a42 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -14,6 +14,11 @@ export default defineConfig({ globals: true, setupFiles: './tests/custom-environment.ts', logHeapUsage: true, + poolOptions: { + threads: { + isolate: false, + }, + }, }, resolve: { alias: {