diff --git a/examples/napi/__tests__/worker-thread.spec.ts b/examples/napi/__tests__/worker-thread.spec.ts index 6a238c63..77b9b883 100644 --- a/examples/napi/__tests__/worker-thread.spec.ts +++ b/examples/napi/__tests__/worker-thread.spec.ts @@ -15,10 +15,13 @@ const t = const concurrency = process.env.WASI_TEST ? 1 : process.platform === 'win32' || - process.platform === 'darwin' || - (process.platform === 'linux' && process.arch === 'x64') - ? 50 - : 10 + process.platform === 'darwin' || + (process.platform === 'linux' && + process.arch === 'x64' && + // @ts-expect-error + process?.report?.getReport()?.header?.glibcVersionRuntime) + ? 50 + : 10 t('should be able to require in worker thread', async (t) => { await Promise.all(