@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.
- package/lib/utils/utils.js +3 -1
- package/package.json +1 -1
package/lib/utils/utils.js
CHANGED
|
@@ -246,7 +246,9 @@ const foundedTestLog = (app, tests) => {
|
|
|
246
246
|
};
|
|
247
247
|
|
|
248
248
|
const humanize = text => {
|
|
249
|
-
|
|
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()
|