effect
effect copied to clipboard
effect/vitest does not support it.extend API
What is the problem this feature would solve?
For a pretty big and complex codebase, the it.extend vitest API is super useful. Unfortunately, if the it in question is the it from @effect/vitest, the resulting function doesn't have it.effect like you usually get. So it isn't possible (afaict) to use both effect's nice test helpers as well as vitest's fixture support.
What is the feature you are proposing to solve the problem?
Supporting an api like
import { it } from "@effect/vitest";
const tt = it.extend({…});
tt.effect(…)
What alternatives have you considered?
No response