test(perf): run memory lane on thread pool

This commit is contained in:
Peter Steinberger
2026-05-06 18:19:15 +01:00
parent a2e77c101f
commit 3c7a641b8d
3 changed files with 2 additions and 3 deletions

View File

@@ -322,7 +322,7 @@ export function extractNarrativeText(messages: unknown[]): string | null {
export function formatNarrativeDate(epochMs: number, timezone?: string): string {
const opts: Intl.DateTimeFormatOptions = {
timeZone: timezone,
timeZone: timezone ?? process.env.TZ,
year: "numeric",
month: "long",
day: "numeric",

View File

@@ -321,7 +321,7 @@ describe("scoped vitest configs", () => {
expect(normalizeConfigPath(config.test?.runner)).toBe("test/non-isolated-runner.ts");
}
expect(defaultCommandsConfig.test?.pool).toBe("forks");
expect(defaultCommandsConfig.test?.pool).toBe("threads");
expect(defaultCommandsConfig.test?.isolate).toBe(false);
expect(normalizeConfigPath(defaultCommandsConfig.test?.runner)).toBe(
"test/non-isolated-runner.ts",

View File

@@ -18,7 +18,6 @@ export function createExtensionMemoryVitestConfig(
dir: "extensions",
env,
name: "extension-memory",
pool: "forks",
passWithNoTests: true,
setupFiles: ["test/setup.extensions.ts"],
},