Files
simplex-chat/apps/simplex-support-bot/vitest.config.ts
T
Narasimha-sc ff5919e731 support-bot: implement stateless bot with cards, Grok, team flow, hardening
Complete rewrite of the support bot to stateless architecture:
- State derived from group composition + chat history (survives restarts)
- Card dashboard in team group with live status, preview, /join commands
- Two-profile architecture (main + Grok) with profileMutex serialization
- Grok join race condition fix via bufferedGrokInvitations
- Card preview: newest-first truncation, newline sanitization, sender prefixes
- Best-effort startup (invite link, group profile update)
- Team group preferences: directMessages, fullDelete, commands
- 122 tests across 27 suites
2026-04-10 12:33:30 +00:00

16 lines
372 B
TypeScript

import {defineConfig} from "vitest/config"
import path from "path"
export default defineConfig({
test: {
globals: true,
testTimeout: 10000,
},
resolve: {
alias: {
"simplex-chat": path.resolve(__dirname, "test/__mocks__/simplex-chat.js"),
"@simplex-chat/types": path.resolve(__dirname, "test/__mocks__/simplex-chat-types.js"),
},
},
})