Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test() helper #63

Closed
mrazauskas opened this issue Mar 19, 2024 · 1 comment · Fixed by #65
Closed

Add test() helper #63

mrazauskas opened this issue Mar 19, 2024 · 1 comment · Fixed by #65
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@mrazauskas
Copy link
Contributor

Playground link

Just to draw your attention, the first example in readme is not working. I have added playground link. It is rather obvious that test() is not imported.

Just an idea: perhaps expect-type could have its own test() helper?

@aryaemami59 aryaemami59 added the documentation Improvements or additions to documentation label Mar 19, 2024
@aryaemami59 aryaemami59 self-assigned this Mar 19, 2024
@mmkal
Copy link
Owner

mmkal commented Mar 19, 2024

Thanks! That example assumes a globally available test value - it's from the jest days, but we should simplify so you can copy the example directly and have it work.

@mmkal mmkal closed this as completed in #65 Mar 21, 2024
mmkal pushed a commit that referenced this issue Mar 21, 2024
## This PR:

  - [X] Resolves #63.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants