Fix dart-json not stripping cwd from suite paths

This commit is contained in:
Michal Dorner 2021-02-01 12:05:15 +01:00
parent 9c4a2c56d7
commit 2365963b2e
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786
5 changed files with 41 additions and 49 deletions

View file

@ -3,9 +3,9 @@
**6** tests were completed in **3.760s** with **1** passed, **4** failed and **1** skipped.
|Test suite|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|[test\main_test.dart](#r0s0)|1✔|3❌||74ms|
|[test\second_test.dart](#r0s1)||1❌|1✖|51ms|
### <a id="user-content-r0s0" href="#r0s0">test\main_test.dart</a>
|[test/main_test.dart](#r0s0)|1✔|3❌||74ms|
|[test/second_test.dart](#r0s1)||1❌|1✖|51ms|
### <a id="user-content-r0s0" href="#r0s0">test/main_test.dart</a>
**4** tests were completed in **74ms** with **1** passed, **3** failed and **0** skipped.
**Test 1**
@ -23,7 +23,7 @@
|Result|Test|Time|
|:---:|:---|---:|
|❌|Test 2 Exception in test|12ms|
### <a id="user-content-r0s1" href="#r0s1">test\second_test.dart</a>
### <a id="user-content-r0s1" href="#r0s1">test/second_test.dart</a>
**2** tests were completed in **51ms** with **0** passed, **1** failed and **1** skipped.
|Result|Test|Time|

View file

@ -68,7 +68,7 @@ test\\\\main_test.dart 17:9 main.<fn>.<fn>.<fn>
],
},
],
"name": "test\\\\main_test.dart",
"name": "test/main_test.dart",
"totalTime": undefined,
},
TestSuiteResult {
@ -97,7 +97,7 @@ test\\\\main_test.dart 17:9 main.<fn>.<fn>.<fn>
],
},
],
"name": "test\\\\second_test.dart",
"name": "test/second_test.dart",
"totalTime": undefined,
},
],