mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-18 19:02:18 +02:00
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:
co-authored by
Claude Fable 5
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'));
|
const notReadyLines = out.split('\n').filter(l => l.includes('NOT READY'));
|
||||||
expect(notReadyLines.length).toBeGreaterThanOrEqual(2);
|
expect(notReadyLines.length).toBeGreaterThanOrEqual(2);
|
||||||
for (const line of notReadyLines) {
|
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 {
|
} finally {
|
||||||
fs.rmSync(emptyHome, { recursive: true, force: true });
|
fs.rmSync(emptyHome, { recursive: true, force: true });
|
||||||
|
|||||||
Reference in New Issue
Block a user