html-reporter 8.1.0 → 8.2.0

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/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ <a name="8.2.0"></a>
6
+ # [8.2.0](https://github.com/gemini-testing/html-reporter/compare/v8.1.0...v8.2.0) (2022-01-27)
7
+
8
+
9
+ ### Features
10
+
11
+ * do not put space before title if there is no root suite ([f905879](https://github.com/gemini-testing/html-reporter/commit/f905879))
12
+
13
+
14
+
5
15
  <a name="8.1.0"></a>
6
16
  # [8.1.0](https://github.com/gemini-testing/html-reporter/compare/v8.0.2...v8.1.0) (2022-01-13)
7
17
 
@@ -20,8 +20,9 @@ exports.getShortMD5 = (str) => {
20
20
  };
21
21
 
22
22
  exports.mkFullTitle = ({suite, state}) => {
23
- // https://github.com/mochajs/mocha/blob/v2.4.5/lib/runnable.js#L165
24
- return `${suite.path.join(' ')} ${state.name}`;
23
+ return suite.path.length > 0
24
+ ? `${suite.path.join(' ')} ${state.name}`
25
+ : state.name;
25
26
  };
26
27
 
27
28
  // 'databaseUrls.json' may contain many databases urls but html-reporter at gui mode can work with single databases file.
@@ -430,6 +430,7 @@
430
430
  vertical-align: top;
431
431
  }
432
432
  .rc-tree-select-tree-indent-unit {
433
+ width: 16px;
433
434
  display: inline-block;
434
435
  padding-left: 18px;
435
436
  }