chore: update test

This commit is contained in:
Faisal Amir 2025-08-28 12:58:12 +07:00
parent 6bb66b2b93
commit 85b614f44a

View File

@ -924,7 +924,7 @@ describe('models service', () => {
expect(result).toBe('YELLOW') // Should use fallback
})
it('should return RED when there is an error', async () => {
it('should return GREY when there is an error', async () => {
const mockEngineWithError = {
...mockEngine,
isModelSupported: vi.fn().mockRejectedValue(new Error('Test error')),
@ -934,7 +934,7 @@ describe('models service', () => {
const result = await isModelSupported('/path/to/model.gguf')
expect(result).toBe('RED')
expect(result).toBe('GREY')
})
})
})