-
I have a codebase using legacy redux patterns and trying to slowly but steadily transition to using modern redux. I have a set of old Actions that are created similiar to `ExtraAction` mentioned below…
-
Hi, is it possible to use multiple matchers in a single custom serializer?
Right now I have this, but I want to add another matcher for `datetime` fields without disrupting my number matcher:
```
…
-
Hello,
Thanks for this great library, it's very useful. I wanted to add my own custom matcher to the matchers list. I tried this code and it works great :
```
let autolinker = new Autolinker();…
-
### User story
As a developer I want to have a good signal to noise ration and want to write my tests with as less boilerplate as possible.
Therefor I need a [custom matcher](https://vitest.dev/g…
-
While testing https://github.com/elastic/eui/pull/7709 I noticed that while passing a custom `optionMatcher` we cannot highlight the substring that is matched. It'd be good to add it in some way.
…
-
**Is your feature request related to a problem? Please describe.**
While addressing the issue discussed in #2509 regarding matching `Quantity` values, I created a custom matcher to extend the functio…
-
**Is your feature request related to a problem? Please describe **
We can't use syrupy when we are snapshotting objects with floats in them, due to precision issues.
**Describe the solution you'd l…
-
Hey,
i was a bit confused on how to create custom matchers, so i wanted to share a solution. You can include the module in rspec/others and use it:
show action e.g.:
``` Ruby
response.body.should m…
-
Idea: support es6 by making a custom matcher that matches the `imports` statement.
I'm not sure how different this would be from the `match-requires`.
doowb updated
9 years ago
-
### Subject of the issue
We have a custom matcher that matches "`as_json`-able" objects.
```rb
RSpec::Matchers.define :as_json do |expected|
def actual = super.as_json
match { |actual| va…