mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-16 06:17:10 +01:00
Fix mocha report fixture + test duration handling
This commit is contained in:
parent
9b675bd55f
commit
8dba8714d0
6 changed files with 20 additions and 87 deletions
|
|
@ -1,11 +1,10 @@
|
|||

|
||||

|
||||
## <a id="user-content-r0" href="#r0">fixtures/mocha-json.json</a> ❌
|
||||
**7** tests were completed in **14ms** with **1** passed, **5** failed and **1** skipped.
|
||||
**6** tests were completed in **12ms** with **1** passed, **4** failed and **1** skipped.
|
||||
|Test suite|Passed|Failed|Skipped|Time|
|
||||
|:---|---:|---:|---:|---:|
|
||||
|[test/main.test.js](#r0s0)|1✔️|3❌||1ms|
|
||||
|[test/second.test.js](#r0s1)||1❌|1✖️|NaNms|
|
||||
|[test/test.js](#r0s2)||1❌||0ms|
|
||||
|[test/second.test.js](#r0s1)||1❌|1✖️|8ms|
|
||||
### <a id="user-content-r0s0" href="#r0s0">test/main.test.js</a> ❌
|
||||
**4** tests were completed in **1ms** with **1** passed, **3** failed and **0** skipped.
|
||||
|
||||
|
|
@ -25,16 +24,9 @@
|
|||
|:---:|:---|---:|
|
||||
|❌|Exception in test|0ms|
|
||||
### <a id="user-content-r0s1" href="#r0s1">test/second.test.js</a> ❌
|
||||
**2** tests were completed in **NaNms** with **0** passed, **1** failed and **1** skipped.
|
||||
**2** tests were completed in **8ms** with **0** passed, **1** failed and **1** skipped.
|
||||
|
||||
|Result|Test|Time|
|
||||
|:---:|:---|---:|
|
||||
|✖️|Skipped test|NaNms|
|
||||
|❌|Timeout test|10ms|
|
||||
### <a id="user-content-r0s2" href="#r0s2">test/test.js</a> ❌
|
||||
**1** tests were completed in **0ms** with **0** passed, **1** failed and **0** skipped.
|
||||
|
||||
**Array #indexOf()**
|
||||
|Result|Test|Time|
|
||||
|:---:|:---|---:|
|
||||
|❌|should return -1 when the value is not present|0ms|
|
||||
|✖️|Skipped test|0ms|
|
||||
|❌|Timeout test|8ms|
|
||||
Loading…
Add table
Add a link
Reference in a new issue