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.
This commit is contained in:
Tianyi Cui authored and imccyu committed 2026-09-06 01:01:03 +08:00
1 parent 2395f112d8
commit 74e27c97d0
1 file changed
+2 -1
+2 -1
View File
@@ -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',
])
})