mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-16 06:17:10 +01:00
Add support for mocha-json
This commit is contained in:
parent
f285c4c6d7
commit
9b675bd55f
21 changed files with 1588 additions and 59 deletions
40
__tests__/__outputs__/mocha-json.md
Normal file
40
__tests__/__outputs__/mocha-json.md
Normal file
|
|
@ -0,0 +1,40 @@
|
|||

|
||||
## <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.
|
||||
|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|
|
||||
### <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.
|
||||
|
||||
**Test 1**
|
||||
|Result|Test|Time|
|
||||
|:---:|:---|---:|
|
||||
|✔️|Passing test|0ms|
|
||||
|
||||
**Test 1 Test 1.1**
|
||||
|Result|Test|Time|
|
||||
|:---:|:---|---:|
|
||||
|❌|Exception in target unit|0ms|
|
||||
|❌|Failing test|1ms|
|
||||
|
||||
**Test 2**
|
||||
|Result|Test|Time|
|
||||
|:---:|:---|---:|
|
||||
|❌|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.
|
||||
|
||||
|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|
|
||||
Loading…
Add table
Add a link
Reference in a new issue