Skip to content

Commit 43f9541

Browse files
bugersaoudrizwan
andauthored
chore: Add test coverage for Terminal code (RooCodeInc#2070)
* Add tests for TerminalProcess.ts * Add missing Sinon mocking * Test fixes * More fixes * Use sinon sandbox * Add more tests, including real integration ones * Revert lock changes --------- Co-authored-by: Saoud Rizwan <[email protected]>
1 parent ead3950 commit 43f9541

File tree

5 files changed

+420
-1
lines changed

5 files changed

+420
-1
lines changed

.changeset/perfect-tables-smile.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"claude-dev": patch
3+
---
4+
5+
Add test coverage for Terminal handling code.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@
247247
"@types/mocha": "^10.0.7",
248248
"@types/node": "20.x",
249249
"@types/should": "^11.2.0",
250+
"@types/sinon": "^17.0.4",
250251
"@types/vscode": "^1.84.0",
251252
"@typescript-eslint/eslint-plugin": "^7.14.1",
252253
"@typescript-eslint/parser": "^7.11.0",
@@ -259,6 +260,7 @@
259260
"npm-run-all": "^4.1.5",
260261
"prettier": "^3.3.3",
261262
"should": "^13.2.3",
263+
"sinon": "^19.0.2",
262264
"typescript": "^5.4.5"
263265
},
264266
"dependencies": {

0 commit comments

Comments
 (0)