Skip to content

Commit 6965444

Browse files
Fix/flaky rate (#3)
* fix: update flaky rate calculation to include total attempts in denominator
1 parent 74056ea commit 6965444

File tree

5 files changed

+1001
-7
lines changed

5 files changed

+1001
-7
lines changed

docs/functions/enrichReportWithInsights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
> **enrichReportWithInsights**(`currentReport`, `previousReports`, `baseline?`): [`Report`](../interfaces/Report.md)
1010
11-
Defined in: [src/methods/run-insights.ts:818](https://github.com/ctrf-io/ctrf-core-js/blob/main/src/methods/run-insights.ts#L818)
11+
Defined in: [src/methods/run-insights.ts:821](https://github.com/ctrf-io/ctrf-core-js/blob/main/src/methods/run-insights.ts#L821)
1212

1313
## Parameters
1414

docs/interfaces/Summary.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Defined in: [types/ctrf.d.ts:21](https://github.com/ctrf-io/ctrf-core-js/blob/ma
1010

1111
## Properties
1212

13-
### duration
13+
### duration?
1414

15-
> **duration**: `number`
15+
> `optional` **duration**: `number`
1616
1717
Defined in: [types/ctrf.d.ts:32](https://github.com/ctrf-io/ctrf-core-js/blob/main/types/ctrf.d.ts#L32)
1818

@@ -34,9 +34,9 @@ Defined in: [types/ctrf.d.ts:24](https://github.com/ctrf-io/ctrf-core-js/blob/ma
3434

3535
***
3636

37-
### flaky
37+
### flaky?
3838

39-
> **flaky**: `number`
39+
> `optional` **flaky**: `number`
4040
4141
Defined in: [types/ctrf.d.ts:28](https://github.com/ctrf-io/ctrf-core-js/blob/main/types/ctrf.d.ts#L28)
4242

docs/type-aliases/TestStatus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88

99
> **TestStatus** = `"passed"` \| `"failed"` \| `"skipped"` \| `"pending"` \| `"other"`
1010
11-
Defined in: [types/ctrf.d.ts:160](https://github.com/ctrf-io/ctrf-core-js/blob/main/types/ctrf.d.ts#L160)
11+
Defined in: [types/ctrf.d.ts:161](https://github.com/ctrf-io/ctrf-core-js/blob/main/types/ctrf.d.ts#L161)

0 commit comments

Comments
 (0)