ci: fix backend tests due to new updates

This commit is contained in:
Danny Avila 2024-05-18 15:44:22 -04:00
parent 6082e26716
commit 3eabbd572e
No known key found for this signature in database
GPG key ID: 2DD9CC89B9B50364
5 changed files with 14 additions and 13 deletions

View file

@ -253,8 +253,8 @@ describe('AppService', () => {
process.env.EASTUS_API_KEY = 'eastus-key';
await AppService(app);
expect(app.locals).toHaveProperty(EModelEndpoint.assistants);
expect(app.locals[EModelEndpoint.assistants].capabilities.length).toEqual(3);
expect(app.locals).toHaveProperty(EModelEndpoint.azureAssistants);
expect(app.locals[EModelEndpoint.azureAssistants].capabilities.length).toEqual(3);
});
it('should correctly configure Azure OpenAI endpoint based on custom config', async () => {