Comparing version 3.2.0 to 3.2.1
{ | ||
"name": "pactum", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "REST API Testing Tool for all levels in a Test Pyramid", | ||
@@ -70,3 +70,3 @@ "main": "./src/index.js", | ||
"openapi-fuzzer-core": "^1.0.6", | ||
"pactum-matchers": "^1.1.2", | ||
"pactum-matchers": "^1.1.3", | ||
"parse-graphql": "^1.0.0", | ||
@@ -73,0 +73,0 @@ "phin": "^3.6.0", |
@@ -72,2 +72,8 @@ <span align="center"> | ||
or you can simply use | ||
```bash | ||
npx pactum-init | ||
``` | ||
![----------](https://raw.githubusercontent.com/pactumjs/pactum/master/assets/rainbow.png) | ||
@@ -74,0 +80,0 @@ |
@@ -106,3 +106,4 @@ const override = require('deep-override'); | ||
const handlerFun = handler.getDataFuncHandler(handlerName); | ||
values.push(handlerFun({ args: _args.length > 0 ? _args[0].split(',') : _args })); | ||
const handler_data = handlerFun({ args: _args.length > 0 ? _args[0].split(',') : _args }); | ||
values.push(this.processDataRefs(handler_data)); | ||
} | ||
@@ -109,0 +110,0 @@ if (refType === 'S') { |
@@ -404,2 +404,10 @@ import { RequestOptions, IncomingMessage } from 'http'; | ||
/** | ||
* supports promise chaining and await syntax | ||
*/ | ||
then( | ||
onFulfilled: (value: any) => any, | ||
onRejected: (reason: any) => any | ||
): Promise<any>; | ||
/** | ||
* returns chai like assertions | ||
@@ -406,0 +414,0 @@ * @see https://pactumjs.github.io/api/assertions/response.html |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
163011
4886
200
Updatedpactum-matchers@^1.1.3