mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-05 22:27:00 +00:00
ff5919e731
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
16 lines
372 B
TypeScript
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"),
|
|
},
|
|
},
|
|
})
|