allure-js-commons
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -36,3 +36,3 @@ 'use strict'; | ||
if(suite.hasTests()) { | ||
writer.writeSuite(this.options.targetDir, suite.toXML()); | ||
writer.writeSuite(this.options.targetDir, suite); | ||
} | ||
@@ -39,0 +39,0 @@ this.suites.shift(); |
{ | ||
"name": "allure-js-commons", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Common helper for writing plugins to allure-framework", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -36,4 +36,4 @@ 'use strict'; | ||
parameters: [ | ||
{name: 'test', value: 'value', kind: 'ARGUMENT'}, | ||
{name: 'env', value: 'ok', kind: 'ENVIRONMENT_VARIABLE'} | ||
{name: 'test', value: 'value', kind: 'argument'}, | ||
{name: 'env', value: 'ok', kind: 'environment-variable'} | ||
] | ||
@@ -40,0 +40,0 @@ })); |
@@ -9,3 +9,3 @@ 'use strict'; | ||
writeSuite: function(targetDir, suites) { | ||
fs.outputFileSync(path.join(targetDir, uuid.v4() + '-testsuite.xml'), xml('ns2:test-suite', suites)); | ||
fs.outputFileSync(path.join(targetDir, uuid.v4() + '-testsuite.xml'), xml('ns2:test-suite', suites.toXML())); | ||
}, | ||
@@ -12,0 +12,0 @@ writeBuffer: function(targetDir, buffer, ext) { |
Sorry, the diff of this file is not supported yet
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
18538
17