Skip to content

test(project): use effect service fixtures#29044

Merged
kitlangton merged 1 commit into
test/config-effect-dslfrom
test/project-effect-fixtures
May 24, 2026
Merged

test(project): use effect service fixtures#29044
kitlangton merged 1 commit into
test/config-effect-dslfrom
test/project-effect-fixtures

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

Summary

  • migrate project tests from local Project service callback helper to Project.use service accessors
  • use AppFileSystem.use for Effect-native file existence and favicon writes
  • keep git temp dir, worktree, bare repo, and shell-driven git setup semantics unchanged

Verification

  • bunx prettier --write packages/opencode/test/project/project.test.ts
  • bun typecheck (packages/opencode)
  • bun test --timeout 5000 test/project/project.test.ts (packages/opencode)
  • bunx oxlint packages/opencode/test/project/project.test.ts (warnings only: pre-existing unsafe assertions in mock/test IDs)
  • test name diff before/after: no diff

@kitlangton kitlangton merged commit 9d2e2af into test/config-effect-dsl May 24, 2026
10 checks passed
@kitlangton kitlangton deleted the test/project-effect-fixtures branch May 24, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant