-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Typescript mismatch with toBeTrue/toBeFalse as of @types/jasmine 3.5.0 #124
Comments
Hi, I ran into the same problem with Jasmine in an Angular project. I managed to solve it by removing the
|
jasmine 3.5 now has it's own |
Had to revert back to Jasmine Core 3.4.0 to get around this issue for now. |
@JamieMason Would you be willing to accept a PR to remove Not suggesting complete removal of the matchers as Jest does not have them and also because it will affect more people then removal of the optional parameter. For Jasmine Not sure how does this influence Jest users of the library though. PS I will also try to deprecated |
Is there any progress on this @JamieMason? The read me details that this library supports all versions of jest and Jasmine; but currently doesn't work with the last few releases of Jasmine.
|
Did anyone here find a better workaround than pinning down Jasmine and its types to 3.4 until this gets fixed for good? |
Description
When using recent jasmine-expect 4.0.3 with @types/jasmine 3.5.0 we get the following errors:
Suggested Solution
This seems to be due this commit DefinitelyTyped/DefinitelyTyped@c0e76f8
Using @types/jasmine 3.4.6 for now
Help Needed
Not sure who got it right: jasmine-expect or @types/jasmine
The text was updated successfully, but these errors were encountered: