Skip to content

Fix missing matchers#1842

Merged
christian-bromann merged 4 commits intomainfrom
fix-missing-matchers
Jun 3, 2025
Merged

Fix missing matchers#1842
christian-bromann merged 4 commits intomainfrom
fix-missing-matchers

Conversation

@erwinheitzman
Copy link
Member

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.

Overall looks good, some minor comments

this.#currentFilePath = test.file
this.#currentTestName = `${test.parent} > ${test.title}`
await this.#snapshotClient.startCurrentRun(test.file, test.fullTitle, this.#options)
await this.#snapshotClient.setup(test.file, this.#options)
Copy link
Member

Choose a reason for hiding this comment

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

What's the intention of this change?

Copy link
Member Author

Choose a reason for hiding this comment

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

The client has been updated so I got errors, to be compliant I had to change this. The reason is shared in the description of the PR where you can see the changes that ViTest made @christian-bromann

Copy link
Member

Choose a reason for hiding this comment

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

Can we update the version in package.json then?

Copy link
Member Author

Choose a reason for hiding this comment

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

It already grabs the latest version with the current package.json but I can do so yes

Copy link
Member

Choose a reason for hiding this comment

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

Thank you!

const filteredMatchers = {}
const extend = expectLib.extend

Object.keys(wdioMatchers).forEach(matcher => {
Copy link
Member

Choose a reason for hiding this comment

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

Can we add a comment here about what we are filtering for?

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.

Overall looks good, some minor comments

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.

LGTM 👍

@christian-bromann christian-bromann merged commit 2ebaeff into main Jun 3, 2025
6 checks passed
@christian-bromann christian-bromann deleted the fix-missing-matchers branch June 3, 2025 01:09
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.

2 participants