Persist test summary on disk

This commit is contained in:
Ray Xu 2022-04-23 05:48:48 +00:00 committed by Zach Renner
parent c9b3d0e2bd
commit 83b7f42d2d
19 changed files with 1284 additions and 3655 deletions

View file

@ -1,26 +1,26 @@
![Tests failed](https://img.shields.io/badge/tests-1%20passed%2C%204%20failed%2C%201%20skipped-critical)
##  <a id="user-content-r0" href="#r0">fixtures/jest-junit.xml</a>
## :x: <a id="user-content-r0" href="#r0">fixtures/jest-junit.xml</a>
**6** tests were completed in **1s** with **1** passed, **4** failed and **1** skipped.
|Test suite|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|[__tests__\main.test.js](#r0s0)|1✔️|3❌||486ms|
|[__tests__\second.test.js](#r0s1)||1❌|1✖|82ms|
###  <a id="user-content-r0s0" href="#r0s0">__tests__\main.test.js</a>
|[__tests__\main.test.js](#r0s0)|1:white_check_mark:|3:x:||486ms|
|[__tests__\second.test.js](#r0s1)||1:x:|1:no_entry_sign:|82ms|
### :x: <a id="user-content-r0s0" href="#r0s0">__tests__\main.test.js</a>
```
Test 1
✔️ Passing test
:white_check_mark: Passing test
Test 1 Test 1.1
Failing test
:x: Failing test
Error: expect(received).toBeTruthy()
Exception in target unit
:x: Exception in target unit
Error: Some error
Test 2
Exception in test
:x: Exception in test
Error: Some error
```
###  <a id="user-content-r0s1" href="#r0s1">__tests__\second.test.js</a>
### :x: <a id="user-content-r0s1" href="#r0s1">__tests__\second.test.js</a>
```
Timeout test
:x: Timeout test
: Timeout - Async callback was not invoked within the 1 ms timeout specified by jest.setTimeout.Timeout - Async callback was not invoked within the 1 ms timeout specified by jest.setTimeout.Error:
✖️ Skipped test
:no_entry_sign: Skipped test
```