Features:
-
Added a TypeScript Declaration File so you can use this plugin in TypeScript projects without import type errors #61. See usage guide
-
Changed some negated assertions to pass instead of fail #67
expect(res).to.not.satisfyApiSpec
used to mean "expectres
to match but not satisfy a response defined in your API spec".
nowexpect(res).to.not.satisfyApiSpec
means "expectres
to neither match nor satisfy a response defined in your API spec".
So ifres
matches no responses in your API spec, thenexpect(res).to.not.satisfyApiSpec
passes. -
Much more useful and consistent assertion failure messages #67, see diff: