We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
currently, testType.* can be used in test directly. e.g.:
testType.*
it('blah', () => { testType.equal<A, B>(true) }
However, when the tests get complicates or when there are may duplication, you would like to extract part of the test and reuse it:
it('blah', () => { testMyType(...) } it('bruh', () => { testMyType(...) } testMyType(...) { testType.... }
Since testType.* are 💥 immediate, they can't be used this way.
immediate
Not sure if there is a way to achieve this a the library level as this is crossing the type-value boundary (i.e. fail type throws Error)
Error
The text was updated successfully, but these errors were encountered:
No branches or pull requests
currently,
testType.*
can be used in test directly. e.g.:However, when the tests get complicates or when there are may duplication, you would like to extract part of the test and reuse it:
Since
testType.*
are 💥immediate
, they can't be used this way.Not sure if there is a way to achieve this a the library level as this is crossing the type-value boundary (i.e. fail type throws
Error
)The text was updated successfully, but these errors were encountered: