@flakiness/vitest 1.4.0 → 1.5.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/README.md +1 -1
- package/lib/reporter.js +1 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -163,7 +163,7 @@ The reporter accepts the following options:
|
|
|
163
163
|
|
|
164
164
|
### `title?: string`
|
|
165
165
|
|
|
166
|
-
Optional human-readable report title. Typically used to name a CI run, matrix shard, or other execution group. Defaults to the `FLAKINESS_TITLE` environment variable, or
|
|
166
|
+
Optional human-readable report title. Typically used to name a CI run, matrix shard, or other execution group. Defaults to the `FLAKINESS_TITLE` environment variable, or empty otherwise.
|
|
167
167
|
|
|
168
168
|
```typescript
|
|
169
169
|
reporters: [
|
package/lib/reporter.js
CHANGED
|
@@ -321,9 +321,8 @@ class ReporterImpl {
|
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
323
|
const duration = Date.now() - this._startTimestamp;
|
|
324
|
-
const title = this._options.title ?? process.env.FLAKINESS_TITLE ?? CIUtils.runTitle();
|
|
325
324
|
const report = ReportUtils.normalizeReport({
|
|
326
|
-
title,
|
|
325
|
+
title: this._options.title ?? process.env.FLAKINESS_TITLE,
|
|
327
326
|
url: CIUtils.runUrl(),
|
|
328
327
|
flakinessProject: this._options.flakinessProject,
|
|
329
328
|
category: "vitest",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flakiness/vitest",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/reporter.js",
|
|
6
6
|
"keywords": [],
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"type": "module",
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@flakiness/vitest": "1.
|
|
15
|
+
"@flakiness/vitest": "1.4.0",
|
|
16
16
|
"@types/node": "^25.3.3",
|
|
17
17
|
"@vitest/utils": "^4.0.18",
|
|
18
18
|
"esbuild": "^0.27.3",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@flakiness/flakiness-report": "^0.29.0",
|
|
26
|
-
"@flakiness/sdk": "^2.
|
|
26
|
+
"@flakiness/sdk": "^2.6.0"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "kubik build.mts",
|