Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test(desktop): raise semantic-model timeouts for loaded T0 runs
Alfredo Lopezccb1861c496b
diff --git a/desktop-app/ui/src/lib/__tests__/chatMessageSemantics.test.ts b/desktop-app/ui/src/lib/__tests__/chatMessageSemantics.test.tsindex 39500937c..b205e7334 100644--- a/desktop-app/ui/src/lib/__tests__/chatMessageSemantics.test.ts+++ b/desktop-app/ui/src/lib/__tests__/chatMessageSemantics.test.ts@@ -126,7 +126,7 @@ describe('chat message Markdown semantic model', () => {const model = buildChatMessageSemanticModel(assistant(hostile))expect(findChatSemanticMatches(model, 'label')).toHaveLength(1)expect(performance.now() - started).toBeLessThan(2_000)- })+ }, 30_000)it('maps dense inline matches without rescanning every fragment per occurrence', () => {const model = buildChatMessageSemanticModel(assistant(Array(8_000).fill('*a*').join(' ')))@@ -134,5 +134,5 @@ describe('chat message Markdown semantic model', () => {expect(findChatSemanticMatches(model, 'a')).toHaveLength(8_000)expect(performance.now() - started).toBeLessThan(2_000)- })+ }, 30_000)})diff --git a/desktop-app/vitest.config.ts b/desktop-app/vitest.config.tsindex 501915a0f..9ca790452 100644--- a/desktop-app/vitest.config.ts+++ b/desktop-app/vitest.config.ts@@ -16,6 +16,7 @@ export default defineConfig({},},test: {+ testTimeout: 30_000,include: ['src/**/*.test.ts','src/**/__tests__/**/*.ts',