mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user