From f73ef54edd9cc2e533a58662849d63cb097f11fb Mon Sep 17 00:00:00 2001 From: Ben Grant Date: Thu, 14 Nov 2024 15:58:55 -0800 Subject: [PATCH] Compile Node tests using Node 23 headers --- test/napi/node-napi.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/napi/node-napi.test.ts b/test/napi/node-napi.test.ts index 6fbd5691ae..02662b208e 100644 --- a/test/napi/node-napi.test.ts +++ b/test/napi/node-napi.test.ts @@ -74,7 +74,7 @@ beforeAll(async () => { stderr: "pipe", stdout: "ignore", stdin: "inherit", - env: bunEnv, + env: { ...bunEnv, npm_config_target: "v23.2.0" }, }); await process.exited; if (process.exitCode !== 0) {