html-reporter 8.0.0 → 8.0.1

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.0.1"></a>
6
+ ## [8.0.1](https://github.com/gemini-testing/html-reporter/compare/v8.0.0...v8.0.1) (2021-12-01)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **gui:** stop endlessly restarting tests ([#412](https://github.com/gemini-testing/html-reporter/issues/412)) ([fb8a397](https://github.com/gemini-testing/html-reporter/commit/fb8a397))
12
+
13
+
14
+
5
15
  <a name="8.0.0"></a>
6
16
  # [8.0.0](https://github.com/gemini-testing/html-reporter/compare/v7.7.1...v8.0.0) (2021-11-25)
7
17
 
package/lib/gui/server.js CHANGED
@@ -54,9 +54,10 @@ exports.start = async ({paths, hermione, guiApi, configs}) => {
54
54
  res.json(app.data);
55
55
  });
56
56
 
57
- server.post('/run', async (req, res) => {
57
+ server.post('/run', (req, res) => {
58
58
  try {
59
- await app.run(req.body);
59
+ // do not wait for completion so that response does not hang and browser does not restart it by timeout
60
+ app.run(req.body);
60
61
  res.sendStatus(OK);
61
62
  } catch (e) {
62
63
  res.status(INTERNAL_SERVER_ERROR).send(`Error while trying to run tests: ${e.message}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "html-reporter",
3
- "version": "8.0.0",
3
+ "version": "8.0.1",
4
4
  "description": "Plugin for hermione which is intended to aggregate the results of tests running into html report",
5
5
  "scripts": {
6
6
  "coverage": "nyc npm run test-unit",