Skip to content

fix: Align Jasmine typing + support jasmine asymetrics matchers + other types fixes#2018

Draft
dprevost-LMI wants to merge 33 commits intowebdriverio:mainfrom
dprevost-LMI:use-expect-async-matchers-with-jasmine
Draft

fix: Align Jasmine typing + support jasmine asymetrics matchers + other types fixes#2018
dprevost-LMI wants to merge 33 commits intowebdriverio:mainfrom
dprevost-LMI:use-expect-async-matchers-with-jasmine

Conversation

@dprevost-LMI
Copy link
Contributor

@dprevost-LMI dprevost-LMI commented Feb 4, 2026

Fixes #1893
Fixes #1407 for real

  • jasmine-expect-global.test-d provides proper Jasmine typing to use expect asynchronously with wdio/jasmine-framework
    • withContext is support for sync & async matchers
    • sync matchers are also async, following the hack of adding all sync matchers on expect forced to be expectAsync
  • jasmine.stringContaining now working with any text-based wdio matcher
  • Fix some matchers that should have been a promise when passing an element

Waiting merge of: #2010

- expect-wdio releases breaks easily other integration since we just test with unit tests
- Adding playground will help testing further before releasing and also helps troubleshooting existing problem inside the project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Jasmine Augmentations Limitations & Future Jasmine withContext broken

1 participant