Skip to content

fix: Jasmine augmentation withContext and add Playgrounds for Jasmine, Jest & Mocha#2010

Merged
christian-bromann merged 15 commits intowebdriverio:mainfrom
dprevost-LMI:playgrounds
Mar 7, 2026
Merged

fix: Jasmine augmentation withContext and add Playgrounds for Jasmine, Jest & Mocha#2010
christian-bromann merged 15 commits intowebdriverio:mainfrom
dprevost-LMI:playgrounds

Conversation

@dprevost-LMI
Copy link
Copy Markdown
Contributor

@dprevost-LMI dprevost-LMI commented Jan 27, 2026

Lately, we broke expect-wdio integration with other products multiple times, since we rely solely on unit tests for testing, troubleshooting, and releases. Adding playgrounds will:

  1. Help trouble-shooting existing problem since reproducibility will be easier to do
  2. New feature will be easier to test all the way to wdio before releasing, and breaking something
  3. Ensure that the lib is properly compiled and used
  4. Provide better hands-on examples for Jasmine, Mocha, Jest and SoftAssertion examples.
  5. Easier way to test TypeScript augmentations

Jasmine

  1. Adjust Jasmine docs about its design & quirks
  2. Fix Jasminejasmine-wdio-expect-async typing not exposed in package.json export
  3. Fixes Jasmine withContext broken #1407 where expet().withContext() generating typing issue

@dprevost-LMI dprevost-LMI marked this pull request as ready for review January 27, 2026 14:00
@dprevost-LMI dprevost-LMI changed the title chore: Playgrounds for Jasmine, Jest & Mocha fix: Jasmine augmentation withContext and add Playgrounds for Jasmine, Jest & Mocha Jan 30, 2026
Copy link
Copy Markdown
Member

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we not call the snapshot directory .tmp? Otherwise it seems confusing if the directory was suppose to be checked in.

Otherwise, this is awesome!

@dprevost-LMI
Copy link
Copy Markdown
Contributor Author

Checking, I had used the default but I agree it is wierd, will do

@dprevost-LMI
Copy link
Copy Markdown
Contributor Author

@christian-bromann ready again

Copy link
Copy Markdown
Member

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing !

@christian-bromann christian-bromann merged commit e94ad20 into webdriverio:main Mar 7, 2026
6 checks passed
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 withContext broken

2 participants