test(team): update settings test to include semanticSearchEnabled

This commit is contained in:
yiling
2026-05-28 23:54:00 +08:00
parent 40cb1986f4
commit a341c6d131
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -174,12 +174,12 @@ describe('TeamService', () => {
})
const settings = await teamService.getSettings(team.id)
expect(settings).toEqual({})
expect(settings).toEqual({ semanticSearchEnabled: false })
await teamService.updateSettings(team.id, 'theme', 'dark')
const newSettings = await teamService.getSettings(team.id)
expect(newSettings).toEqual({ theme: 'dark' })
expect(newSettings).toEqual({ theme: 'dark', semanticSearchEnabled: false })
})
it('should create sandbox when team is created', async () => {