Skip to content

Commit

Permalink
Add another test for non regression
Browse files Browse the repository at this point in the history
  • Loading branch information
vinassefranche committed Jan 31, 2025
1 parent 30ad5da commit 46bfc9f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/vitest/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,11 @@ describe("layer", () => {
expect(foo).toEqual("foo")
}))
})
it.effect("adds context", () =>
Effect.gen(function*() {
const foo = yield* Foo
expect(foo).toEqual("foo")
}))
})
})

Expand Down

0 comments on commit 46bfc9f

Please sign in to comment.