-
-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Labels
Description
When using jasmine, withContext seems to be unusable.
Steps to reproduce:
-
Clone this: https://github.com/webdriverio/jasmine-boilerplate/tree/main (commit: 7141ea4b30c8d829ff9ec65f5db15aa2ed263ebf)
-
Add the following line in any spec file:
expect('test').withContext('test').toEqual('test')
The following error appears:
Argument of type 'string' is not assignable to parameter of type 'Expected<void | Promise<void>>'.ts(2345)