fix tests
This commit is contained in:
parent
943f59607c
commit
9b211a21fb
2 changed files with 3 additions and 3 deletions
2
extensions/cli/package-lock.json
generated
2
extensions/cli/package-lock.json
generated
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue