const effect = Effect.gen(function*() {
test("should run an effect", () => {
const result = yield* SomeDependency
expect(result)...
});
test("should run another effect", () => {
const result = yield* AnotherDependency
expect(result)...
});
});
runSync(effect)
const effect = Effect.gen(function*() {
test("should run an effect", () => {
const result = yield* SomeDependency
expect(result)...
});
test("should run another effect", () => {
const result = yield* AnotherDependency
expect(result)...
});
});
runSync(effect)