Releases: pactumjs/pactum
Releases · pactumjs/pactum
v3.1.4
What's Changed
- Add support for setting mock server host address by @leelaprasadv in #120
- 3.1.4 by @ASaiAnudeep in #124
- added
parse
function to process data templates - added
clone
property in interactions - fix typescript errors #108
- added
- Bump ansi-regex from 5.0.0 to 5.0.1 by @dependabot in #125
Full Changelog: v3.1.3...v3.1.4
v3.1.3
What's Changed
- Bug Fixes -
withCookies
andexpectJsonSnapshot
- Introduced regex rule matching to support nested overriding of
eachLike
- V3 by @ASaiAnudeep in #116
Full Changelog: v3.1.2...v3.1.3
v3.1.2
Enhancements
- New optional property
disable
in Interaction objectsexpects
to toggle expectation on Interactions (exercised or not).disable
is default set tofalse
.
expects: {
disable: false // default to false & optional field
}
- Bump pactum-matchers from 1.0.5 to 1.0.6
- Bump pactum from 3.1.1 to 3.1.2
v3.1.1
v3.1.0
Breaking Changes
form-data
is replaced withform-data-lite
request.FormData
is removed
Enhancements
withBody
method to accept file path- added new matcher
any
Bug Fixes
stores
ininteraction
response doesn't maintain the same stategetInteraction
with invalid doesn't throw an error
v3.0.21
Bug Fixes
- Fixed bug with background interactions.
Enhancements
- added new matchers - release docs.
- added
clone
utility method.
v3.0.20
v3.0.19
Enhancements
- added
expectJsonLength
assertion method. - mock server now stops on receiving
SIGTERM
signal which will be useful for docker setup.