-
-
Notifications
You must be signed in to change notification settings - Fork 476
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
What is the type of issue?
Documentation is incorrect
What is the issue?
The README for @effect/vitest states that it.effect.fails is a thing:
effect/packages/vitest/README.md
Lines 228 to 229 in ba9e790
| // Temporarily assert that the test for dividing by zero fails. | |
| it.effect.fails("dividing by zero special cases", ({ expect }) => |
... but it isn't a real thing as far as i can tell:
Locally I'm seeing:
Diagnostics:
1. tsserver: Property 'fails' does not exist on type 'Tester<TestServices>'. [2339]
I noticed after reading it on @kitlangton's effect.solutions site:
Should it be a real thing? Is it a hallucination? Should it be using a different it.* method?
Where did you find it?
No response
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation