<#1405 fix: mock backend to return the example val...
# pact-js-development
g
#1405 fix: mock backend to return the example value provided in date and time v3 matchers Pull request opened by pulak777 •
npm run dist
works locally (this will run tests, lint and build) • Commit messages are ready to go in the changelog (see below for details) • PR template filled in (see below for details) ### PR Template Currently while using MatchersV3
date
and
time
, mock backend returns current date instead of the provided example date. This works correctly for
datetime
. So this pr applies similar fix to what was done in `datetime` (removing
pact:generator:type
from output object when example value is present) Added some tests in pact-reference for this scenario as well - pact-foundation/pact-reference#489 pact-foundation/pact-js