Skip to content

Comments

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

Open
dprevost-LMI wants to merge 15 commits intowebdriverio:mainfrom
dprevost-LMI:playgrounds
Open

fix: Jasmine augmentation withContext and add Playgrounds for Jasmine, Jest & Mocha#2010
dprevost-LMI wants to merge 15 commits intowebdriverio:mainfrom
dprevost-LMI:playgrounds

Conversation

@dprevost-LMI
Copy link
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
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
Contributor Author

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

@dprevost-LMI
Copy link
Contributor Author

@christian-bromann ready again

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