mirror of https://github.com/garrytan/gstack.git
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:
parent
8b850986b2
commit
718b821ce3
|
|
@ -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 });
|
||||
|
|
|
|||
Loading…
Reference in New Issue