mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Fix mock of Cline.abort in tests
This commit is contained in:
parent
a780d70cd2
commit
d6e775002f
1 changed files with 3 additions and 0 deletions
|
|
@ -475,6 +475,7 @@ describe("Cline", () => {
|
|||
// Mock abort state
|
||||
Object.defineProperty(cline, "abort", {
|
||||
get: () => false,
|
||||
set: () => {},
|
||||
configurable: true,
|
||||
})
|
||||
|
||||
|
|
@ -603,10 +604,12 @@ describe("Cline", () => {
|
|||
// Mock abort state for both instances
|
||||
Object.defineProperty(clineWithImages, "abort", {
|
||||
get: () => false,
|
||||
set: () => {},
|
||||
configurable: true,
|
||||
})
|
||||
Object.defineProperty(clineWithoutImages, "abort", {
|
||||
get: () => false,
|
||||
set: () => {},
|
||||
configurable: true,
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue