()
| 28 | }); |
| 29 | |
| 30 | function resolveAuth() { |
| 31 | const provider = new KimiForCodingProvider({ homeDir, ...TEST_IDENTITY }); |
| 32 | return provider.resolveAuth('kimi-for-coding'); |
| 33 | } |
| 34 | |
| 35 | it('maps unauthorized token failures to auth.login_required', async () => { |
| 36 | vi.spyOn(KimiOAuthToolkit.prototype, 'ensureFresh').mockRejectedValue( |
no test coverage detected