Closed matthyy closed 4 years ago
@matthyy, documentation should be updated too, please note that you must edit README.tpl.md
instead of README.md
as step definitions are automatically injected.
@matthyy, since I've merged the support for more versatile snapshots, can you please rebase your PR?
@matthyy it seems like Node 6 doesn't support Intl.getCanonicalLocales()
@Crow-EH since Node 6 is now in EOL, I think it's fine to remove it from the supported versions, as long as we add engines
and enable engineStrict
in package.json
.
@plouc hello raph, I have changed the spec for this new type of matcher. All data necessary to get a Date are set in the value field. Let me know what you think about it?
Could you please rebase your branch, and you should have a look to #43 for assertions with negations
Goal
The purpose of this pull request is to be able to validate date field of an api response. Given a format, a locale and a offset to now, this value will be compared to a specific field.
Summary
With this pull request, one can target a field in an api response and be able to explicitly validate the field. You will find an example here below of the syntax.