fix(test): case-insensitive remediation-hint match for reworded Gemini NOT-READY message

The message now leads with 'Export GEMINI_API_KEY...' (free-tier OAuth
deprecation); the old pattern only knew lowercase 'export'.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Garry Tan
2026-08-07 13:29:33 -07:00
co-authored by Claude Fable 5
parent 8b850986b2
commit 718b821ce3
+1 -1
View File
@@ -133,7 +133,7 @@ describe('gstack-model-benchmark --dry-run', () => {
const notReadyLines = out.split('\n').filter(l => l.includes('NOT READY'));
expect(notReadyLines.length).toBeGreaterThanOrEqual(2);
for (const line of notReadyLines) {
expect(line).toMatch(/(install|Install|login|export|Run|Log in)/);
expect(line).toMatch(/(install|login|export|run|log in)/i);
}
} finally {
fs.rmSync(emptyHome, { recursive: true, force: true });