fix tests

This commit is contained in:
Nate 2025-09-08 21:48:47 -07:00
parent 943f59607c
commit 9b211a21fb
2 changed files with 3 additions and 3 deletions

View file

@ -310,7 +310,7 @@
"@types/node": "^20.11.19",
"@types/shell-quote": "^1.7.5",
"typescript": "^5.5.2",
"vitest": "^1.6.0"
"vitest": "^3.2.4"
}
},
"node_modules/@alcalzone/ansi-tokenize": {

View file

@ -177,10 +177,10 @@ describe("TUIChat - Interruption UI (Minimal Test)", () => {
let foundInputBoxLine = -1;
frameLines.forEach((line, index) => {
if (line.includes("⚠ Interrupted by user")) {
if (line.includes("Interrupted by user")) {
foundInterruptionLine = index;
}
if (line.includes("●") && line.includes("▋")) {
if (line.includes("●") || line.includes("▋")) {
foundInputBoxLine = index;
}
});