Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Jest matchers #547

Closed
s1hofmann opened this issue Dec 14, 2023 · 0 comments · Fixed by #549
Closed

Improve Jest matchers #547

s1hofmann opened this issue Dec 14, 2023 · 0 comments · Fixed by #549
Labels
enhancement Enhancement to existing features

Comments

@s1hofmann
Copy link
Member

Short overview
The currently implemented Jest matchers could be extended and improved

Detailed description
It would be nice to have an additional matcher to validate pixel colours via toHaveColor.
Additionally, the toShow matcher does not accept a proper parameter object which makes it hard to configure some plugins

@s1hofmann s1hofmann added the enhancement Enhancement to existing features label Dec 14, 2023
s1hofmann added a commit that referenced this issue Dec 14, 2023
…ssibility to pass a region to directly specify a search region instead of the whole screen
s1hofmann added a commit that referenced this issue Dec 14, 2023
s1hofmann added a commit that referenced this issue Dec 14, 2023
s1hofmann added a commit that referenced this issue Dec 14, 2023
…ssibility to pass a region to directly specify a search region instead of the whole screen
s1hofmann added a commit that referenced this issue Dec 14, 2023
s1hofmann added a commit that referenced this issue Dec 14, 2023
s1hofmann added a commit that referenced this issue Dec 14, 2023
s1hofmann added a commit that referenced this issue Dec 14, 2023
s1hofmann added a commit that referenced this issue Dec 14, 2023
* (#547) New matcher toHaveColor that verifies pixel colors on screen

* (#547) Updated toShow to support full search parameters, added the possibility to pass a region to directly specify a search region instead of the whole screen

* (#547) Expose new matchers

* (#547) npm audit fix

* (#547) Try to increase node heap space

* (#547) Try to increase node heap space

* (#547) Get rid of Docker tests

* (#547) Addressed some sonar issues

* (#547) Don't run coverage report again after the first stage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to existing features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant