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

Refactor storage.ts into testable modules and add unit tests #588

Closed
Assignees
EhabY
@EhabY

Description

@EhabY

storage.ts is a large, tightly coupled file that mixes core logic with directvscode usage, making it hard to test. Split it into small, focused modules and add unit tests for the core logic using a thinvscode adapter/mocks.

Proposal

  • Extractcore storage logic (try to removevscode imports or simply mock them in tests).
  • Introduce simple interfaces (e.g.,BinaryManager,CliConfigManager,MementoManager,SecretsManager).
  • Write unit tests for core; adapter tests can use a minimal mock.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp