@serenity-js/core
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -1,6 +0,16 @@ | ||
<a name="1.5.0"></a> | ||
# 1.5.0 (2017-09-26) | ||
<a name="1.5.1"></a> | ||
## 1.5.1 (2017-09-27) | ||
<a name="1.5.1"></a> | ||
## 1.5.1 (2017-09-27) | ||
### Bug Fixes | ||
* **reporting:** do not include the tags in the name of the json report if the scenario doesn't have ([1b0371e](https://github.com/jan-molak/serenity-js/commit/1b0371e)) | ||
<a name="1.5.0"></a> | ||
@@ -7,0 +17,0 @@ # 1.5.0 (2017-09-26) |
@@ -40,3 +40,3 @@ "use strict"; | ||
function reportFileNameFor(scene) { | ||
var id = scene.id, tags = scene.tags.map(function (t) { return t.type + ":" + t.name; }).join('-'); | ||
var id = scene.id, tags = (scene.tags || []).map(function (t) { return t.type + ":" + t.name; }).join('-'); | ||
return md5_1.Md5.hashStr(id + "-" + tags) + '.json'; | ||
@@ -43,0 +43,0 @@ } |
{ | ||
"name": "@serenity-js/core", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "Serenity/JS: Next generation acceptance testing library for modern web applications.", | ||
@@ -5,0 +5,0 @@ "author": "Jan Molak <jan.molak@smartcodeltd.co.uk>", |
@@ -61,3 +61,3 @@ import * as _ from 'lodash'; | ||
const id = scene.id, | ||
tags = scene.tags.map(t => `${t.type}:${t.name}`).join('-'); | ||
tags = (scene.tags || []).map(t => `${t.type}:${t.name}`).join('-'); | ||
@@ -64,0 +64,0 @@ return Md5.hashStr(`${id}-${tags}`) + '.json'; |
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
171035