From 74e27c97d0719b7ef9220f05e2af0df48935d851 Mon Sep 17 00:00:00 2001 From: Tianyi Cui <53024+tianyicui@users.noreply.github.com> Date: Fri, 4 Sep 2026 03:28:24 +0800 Subject: [PATCH] test(perf): list the bench config among proxy-setup Vitest inventories scripts/test-proxy-environment.spec.ts pins the Vitest configs that declare setupFiles so the proxy isolation setup is never dropped; the benchmark lane declares it too. --- scripts/test-proxy-environment.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/test-proxy-environment.spec.ts b/scripts/test-proxy-environment.spec.ts index 8430f6436d..160e607a87 100644 --- a/scripts/test-proxy-environment.spec.ts +++ b/scripts/test-proxy-environment.spec.ts @@ -33,7 +33,8 @@ describe('ambient proxy environment', () => { it('finds the configurations that declare a setup at all', () => { // Guards the discovery itself: a glob that stopped matching would make every case below vacuous. expect(declared.map(entry => entry.config)).toEqual([ - 'vitest.config.ts', 'vitest.e2e.config.ts', 'vitest.expected.config.ts', 'vitest.snapshot.config.ts', + 'vitest.bench.config.ts', 'vitest.config.ts', 'vitest.e2e.config.ts', 'vitest.expected.config.ts', + 'vitest.snapshot.config.ts', ]) })