test: fix static-initializers.test.ts

regressed in 46e1c5a0fa
This commit is contained in:
Meghan Denny
2025-08-08 22:28:42 -07:00
committed by GitHub
parent f5c138d646
commit 05cff5cfde

View File

@@ -64,6 +64,6 @@ describe("static initializers", () => {
expect(
bunInitializers.length,
`Do not add static initializers to Bun. Static initializers are called when Bun starts up, regardless of whether you use the variables or not. This makes Bun slower.`,
).toBe(process.arch === "arm64" ? 2 : 2);
).toBe(process.arch === "arm64" ? 1 : 2);
});
});