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
+5 -5
View File
@@ -3595,7 +3595,7 @@ export const builtinProviders: Record<string, any> = {
"input": [
"text"
],
"contextWindow": 204800,
"contextWindow": 262144,
"maxTokens": 8192,
"cost": {
"input": 0,
@@ -6580,11 +6580,11 @@ export const builtinProviders: Record<string, any> = {
"text"
],
"contextWindow": 262144,
"maxTokens": 262144,
"maxTokens": 4096,
"cost": {
"input": 0.06599999999999999,
"output": 0.26,
"cacheRead": 0.029,
"input": 0.063,
"output": 0.21,
"cacheRead": 0.020999999999999998,
"cacheWrite": 0
}
}
+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 () => {