jest-allure2-adapter
Advanced tools
Comparing version 0.0.9 to 0.1.0
@@ -37,3 +37,3 @@ /// <reference types="node" /> | ||
addParameter(name: string, value: string): this; | ||
addParameters(...params: string[][]): this; | ||
addParameters(...params: [string, any][]): this; | ||
addTestPathParameter(relativeFrom: string, spec: any): this; | ||
@@ -40,0 +40,0 @@ description(description: string): this; |
@@ -268,3 +268,4 @@ "use strict"; | ||
params.forEach((p) => { | ||
this.currentExecutable.addParameter(p[0], p[1]); | ||
const value = typeof p[1] !== 'string' ? JSON.stringify(p[1]) : p[1]; | ||
this.currentExecutable.addParameter(p[0], value); | ||
}); | ||
@@ -271,0 +272,0 @@ return this; |
{ | ||
"name": "jest-allure2-adapter", | ||
"version": "0.0.9", | ||
"version": "0.1.0", | ||
"description": "Allure 2 Adapter for jest", | ||
@@ -5,0 +5,0 @@ "main": "dist/index", |
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
31952
846