Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6c947fe

Browse files
jaggederestclaude
andcommitted
docs: update TODO.md with test quality improvement progress
- Documented completed test cleanup tasks- Listed remaining test files needing type cast cleanup- Updated next steps to focus on test quality improvements- Added specific files and counts for remaining work🤖 Generated with [Claude Code](https://claude.ai/code)Co-Authored-By: Claude <noreply@anthropic.com>
1 parentd4af4ed commit6c947fe

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

‎TODO.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,15 @@
7272
###3.1 Test Quality Improvements 🔄 IN PROGRESS
7373

7474
-[x] Created test-helpers.ts for reusable mock builders
75-
-[x] Cleaned up type casting in api-helper.test.ts
76-
-[ ] Continue removing`as any` type casts from test files
75+
-[x] Cleaned up type casting in api-helper.test.ts (removed all`as any`)
76+
-[x] Fixed type casting in storage.test.ts (replaced with`as never`)
77+
-[x] Created createMockConfiguration and createMockStorage helpers
78+
-[x] Started cleaning up api.test.ts (partial progress)
79+
-[ ] Continue removing`as any` type casts from remaining test files:
80+
-[ ] api.test.ts (30+ remaining)
81+
-[ ] commands.test.ts (private method access)
82+
-[ ] workspaceMonitor.test.ts (private property access)
83+
-[ ] workspacesProvider.test.ts (private property access)
7784
-[ ] Replace eslint-disable comments with proper types
7885
-[ ] Create more domain-specific test helpers
7986

@@ -112,9 +119,16 @@
112119

113120
##Next Steps
114121

115-
1.**Immediate**: Continue logging integration across codebase
122+
1.**Immediate**: Continue test quality improvements
123+
- Focus on creating proper type definitions for test mocks
124+
- Consider exposing test interfaces for classes with many private members
125+
- Create domain-specific mock builders (e.g., createMockAxiosInstance)
116126
2.**Short-term**: Complete Phase 2 logging implementation
127+
- Integrate Logger throughout codebase
128+
- Add structured logging for debugging
117129
3.**Medium-term**: Begin refactoring complex functions for testability
130+
- Extract complex logic from extension.ts
131+
- Break down large methods in remote.ts
118132
4.**Long-term**: Implement connection reliability improvements
119133

120134
##Notes

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp