Skip to content

Commit

Permalink
Fix failing test related to deep cody defaults.
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiccooney committed Dec 11, 2024
1 parent de79ddf commit 5b8d26a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shared/src/models/sync.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ describe('syncModels', () => {
vi.spyOn(modelsService, 'modelsChanges', 'get').mockReturnValue(Observable.of(result))

// Check if Deep Cody model is in the primary models list.
expect(result.primaryModels.some(model => model.id.includes('deep-cody'))).toBe(true)
expect(result.primaryModels.some(model => model.id.includes('deep-cody'))).toBe(false)

// Deep Cody should not replace the default chat / edit model.
expect(result.preferences.defaults.chat?.includes('deep-cody')).toBe(false)
Expand Down

0 comments on commit 5b8d26a

Please sign in to comment.