Skip to content

test: use testEffect for instruction tests - #25046

Merged
kitlangton merged 4 commits into
devfrom
test-instruction-effect-style
Apr 30, 2026
Merged

kitlangton merged 4 commits into
devfrom
test-instruction-effect-style

Conversation

@kitlangton

Copy link
Copy Markdown
Contributor

Summary

  • Convert instruction service tests from ad hoc Effect.runPromise helpers to testEffect
  • Use scoped temp directories and provideInstance/provideTmpdirInstance for per-project context

Tests

  • bunx prettier --write test/session/instruction.test.ts
  • bunx oxlint packages/opencode/test/session/instruction.test.ts
  • bun typecheck
  • bun run test -- test/session/instruction.test.ts

@kitlangton
kitlangton enabled auto-merge (squash) April 30, 2026 15:43
@kitlangton
kitlangton disabled auto-merge April 30, 2026 15:48
@kitlangton
kitlangton merged commit 65c15af into dev Apr 30, 2026
9 checks passed
@kitlangton
kitlangton deleted the test-instruction-effect-style branch April 30, 2026 15:48
oleksii-honchar pushed a commit to oleksii-honchar/better-opencode that referenced this pull request May 6, 2026
isaacfinnegan pushed a commit to isaacfinnegan/whispercode that referenced this pull request Jun 9, 2026
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
isaacfinnegan pushed a commit to isaacfinnegan/whispercode that referenced this pull request Jun 15, 2026
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