mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-16 09:55:29 +02:00
refactor(test): migrate the 36 tier-gated eval files to describeE2ETier
Mechanical two-liner swap in 34 files (each keeping its declared tier — all 36 predicates verified against E2E_TIERS before migrating); the two files with compound gates (overlay-harness's EvalCollector feed, codex-e2e's CODEX_AVAILABLE) keep their extra conditions via e2eTierEnabled. Tier rationale comments preserved. codex-e2e/gemini-e2e/benchmark-providers keep their distinct stderr-message gate shapes by design. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
e23a3ae3b1
commit
290c71046b
@@ -19,7 +19,8 @@
|
||||
* contain "no UI scope".
|
||||
*/
|
||||
|
||||
import { describe, test } from 'bun:test';
|
||||
import { test } from 'bun:test';
|
||||
import { describeE2ETier } from './helpers/e2e-gate';
|
||||
import * as path from 'path';
|
||||
import {
|
||||
launchClaudePty,
|
||||
@@ -29,8 +30,7 @@ import {
|
||||
isPlanReadyVisible,
|
||||
} from './helpers/claude-pty-runner';
|
||||
|
||||
const shouldRun = !!process.env.EVALS && process.env.EVALS_TIER === 'gate';
|
||||
const describeE2E = shouldRun ? describe : describe.skip;
|
||||
const describeE2E = describeE2ETier('gate');
|
||||
|
||||
const ROOT = path.resolve(import.meta.dir, '..');
|
||||
const FIXTURE = path.join(ROOT, 'test', 'fixtures', 'plans', 'ui-heavy-feature.md');
|
||||
|
||||
Reference in New Issue
Block a user