@testomatio/reporter 1.4.2 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -246,7 +246,9 @@ const foundedTestLog = (app, tests) => {
246
246
  };
247
247
 
248
248
  const humanize = text => {
249
- text = decamelize(text);
249
+ // if there are no spaces, decamelize
250
+ if (!text.trim().includes(' ')) text = decamelize(text);
251
+
250
252
  return text
251
253
  .replace(/_./g, match => ` ${match.charAt(1).toUpperCase()}`)
252
254
  .trim()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "main": "./lib/reporter.js",
6
6
  "typings": "typings/index.d.ts",