Fix mock of Cline.abort in tests

This commit is contained in:
Matt Rubens 2025-02-13 16:38:03 -05:00
parent a780d70cd2
commit d6e775002f

View file

@ -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,
})