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
29.7.0
// TypeError: Cannot read properties of undefined (reading 'each') test.skip.skip.each([1])('foo', async () => {});
Either works the same way as test.skip.each or, at the very least, has correct types.
test.skip.each
TypeError: Cannot read properties of undefined (reading 'each')
No response
System: OS: Linux 6.8 omitted CPU: omitted Binaries: Node: 22.11.0 Yarn: 1.22.22 npm: 10.9.0
The text was updated successfully, but these errors were encountered:
From your example it seems like you using types from @types/jest. (Or test() is actually imported from @jest/gobals?)
@types/jest
test()
@jest/gobals
@types/jest is not part of Jest repo. It is maintained at https://github.com/DefinitelyTyped/DefinitelyTyped.
Sorry, something went wrong.
@mrazauskas So is this expected behavior from jest or not?
jest
test.skip.skip should throw at run time, because of double skip. If typings allow this, that is a bug in types.
test.skip.skip
skip
No branches or pull requests
Version
29.7.0
Steps to reproduce
Expected behavior
Either works the same way as
test.skip.each
or, at the very least, has correct types.Actual behavior
TypeError: Cannot read properties of undefined (reading 'each')
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: