test(stage-ui): fix tests

This commit is contained in:
Makito
2026-09-08 03:35:35 +09:00
parent 332883d42f
commit 9a4e1da5a1
@@ -77,7 +77,7 @@ describe('onboarding store', () => {
// https://github.com/moeru-ai/airi/pull/1900
it('requires onboarding when startup credentials have no validated provider', () => {
const providerStore = useProviderConfigStore()
vi.spyOn(providerStore, 'getProviderConfig').mockImplementation(providerId => providerId === 'azure-openai' ? { apiKey: 'sk-x', baseUrl: '' } : undefined)
vi.spyOn(providerStore, 'getProviderConfig').mockImplementation(providerId => providerId === 'azure-openai' ? { apiKey: 'sk-x', baseUrl: '' } : {})
const store = useOnboardingStore()