mirror of
https://github.com/bal-spec/sillytavern-character-memory.git
synced 2026-04-28 11:49:47 +00:00
Exercises stripNonDiegetic, formatChatMessages, substitutePromptTemplate, parseMemories, and serializeMemories against the real 1000-message chat fixture. Also fixes vitest script flags in package.json (--testPathPattern is not a valid vitest option; use positional filter instead). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
13 lines
309 B
JSON
13 lines
309 B
JSON
{
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "vitest run test/unit/",
|
|
"test:watch": "vitest watch test/unit/",
|
|
"test:snapshot": "vitest run test/integration/snapshot",
|
|
"test:live": "vitest run test/integration/live"
|
|
},
|
|
"devDependencies": {
|
|
"vitest": "^4.0.18"
|
|
}
|
|
}
|