monocart-reporter 2.9.14 → 2.9.16
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/README.md +5 -10
- package/lib/merge-data.js +1 -1
- package/lib/packages/monocart-reporter-assets.js +2 -2
- package/lib/packages/monocart-reporter-vendor.js +10 -10
- package/lib/utils/util.js +12 -13
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|

|
|
7
7
|

|
|
8
8
|
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
Preview: [https://cenfun.github.io/monocart-reporter](https://cenfun.github.io/monocart-reporter)
|
|
12
|
+
|
|
13
|
+

|
|
9
14
|
|
|
10
15
|
* A [Playwright](https://github.com/microsoft/playwright) Test [Reporter](https://playwright.dev/docs/test-reporters) (Node.js)
|
|
11
16
|
- A `Tree Grid` style test reporter
|
|
@@ -15,7 +20,6 @@
|
|
|
15
20
|
- Timeline Workers Graph
|
|
16
21
|
- Monitor CPU and Memory Usage
|
|
17
22
|
- Export Data (json)
|
|
18
|
-
* [Preview](#preview)
|
|
19
23
|
* [Install](#install)
|
|
20
24
|
* [Playwright Config](#playwright-config)
|
|
21
25
|
* [Examples](#examples)
|
|
@@ -54,15 +58,6 @@
|
|
|
54
58
|
* [Contributing](#contributing)
|
|
55
59
|
* [Changelog](CHANGELOG.md)
|
|
56
60
|
|
|
57
|
-
|
|
58
|
-
## Preview
|
|
59
|
-
[https://cenfun.github.io/monocart-reporter](https://cenfun.github.io/monocart-reporter)
|
|
60
|
-
|
|
61
|
-

|
|
62
|
-
|
|
63
|
-

|
|
64
|
-
(For Github actions, we can enforce color with env: `FORCE_COLOR: true`)
|
|
65
|
-
|
|
66
61
|
## Install
|
|
67
62
|
```sh
|
|
68
63
|
npm i -D monocart-reporter
|
package/lib/merge-data.js
CHANGED
|
@@ -389,7 +389,7 @@ module.exports = async (reportDataList, userOptions = {}) => {
|
|
|
389
389
|
// init outputDir
|
|
390
390
|
const outputDir = path.dirname(outputFile);
|
|
391
391
|
// clean
|
|
392
|
-
Util.initDir(outputDir);
|
|
392
|
+
Util.initDir(outputDir, options.clean);
|
|
393
393
|
// for attachment path handler
|
|
394
394
|
options.outputDir = outputDir;
|
|
395
395
|
|