Skip to content

Commit

Permalink
Merge pull request #567 from micmarc/fix/summary-anchor-links
Browse files Browse the repository at this point in the history
Fix broken links in report summary
  • Loading branch information
Jozef Izso authored and GitHub committed Mar 25, 2025
2 parents 6e6a65b + 8039983 commit d609194
Show file tree
Hide file tree
Showing 20 changed files with 677 additions and 676 deletions.
10 changes: 5 additions & 5 deletions __tests__/__outputs__/dart-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
|Report|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|fixtures/dart-json.json|1 ✅|4 ❌|1 ⚪|4s|
## ❌ <a id="user-content-r0" href="#r0">fixtures/dart-json.json</a>
## ❌ <a id="user-content-r0" href="#user-content-r0">fixtures/dart-json.json</a>
**6** tests were completed in **4s** 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](#user-content-r0s0)|1 ✅|3 ❌||74ms|
|[test/second_test.dart](#user-content-r0s1)||1 ❌|1 ⚪|51ms|
### ❌ <a id="user-content-r0s0" href="#user-content-r0s0">test/main_test.dart</a>
```
Test 1
✅ Passing test
Expand All @@ -23,7 +23,7 @@ Test 2
❌ Exception in test
Exception: Some error
```
### ❌ <a id="user-content-r0s1" href="#r0s1">test/second_test.dart</a>
### ❌ <a id="user-content-r0s1" href="#user-content-r0s1">test/second_test.dart</a>
```
❌ Timeout test
TimeoutException after 0:00:00.000001: Test timed out after 0 seconds.
Expand Down
6 changes: 3 additions & 3 deletions __tests__/__outputs__/dotnet-nunit.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
|Report|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|fixtures/dotnet-nunit.xml|3 ✅|5 ❌|1 ⚪|230ms|
## ❌ <a id="user-content-r0" href="#r0">fixtures/dotnet-nunit.xml</a>
## ❌ <a id="user-content-r0" href="#user-content-r0">fixtures/dotnet-nunit.xml</a>
**9** tests were completed in **230ms** with **3** passed, **5** failed and **1** skipped.
|Test suite|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|[DotnetTests.NUnitV3Tests.dll.DotnetTests.XUnitTests](#r0s0)|3 ✅|5 ❌|1 ⚪|69ms|
### ❌ <a id="user-content-r0s0" href="#r0s0">DotnetTests.NUnitV3Tests.dll.DotnetTests.XUnitTests</a>
|[DotnetTests.NUnitV3Tests.dll.DotnetTests.XUnitTests](#user-content-r0s0)|3 ✅|5 ❌|1 ⚪|69ms|
### ❌ <a id="user-content-r0s0" href="#user-content-r0s0">DotnetTests.NUnitV3Tests.dll.DotnetTests.XUnitTests</a>
```
CalculatorTests
✅ Is_Even_Number(2)
Expand Down
6 changes: 3 additions & 3 deletions __tests__/__outputs__/dotnet-trx.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
|Report|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|fixtures/dotnet-trx.trx|5 ✅|5 ❌|1 ⚪|1s|
## ❌ <a id="user-content-r0" href="#r0">fixtures/dotnet-trx.trx</a>
## ❌ <a id="user-content-r0" href="#user-content-r0">fixtures/dotnet-trx.trx</a>
**11** tests were completed in **1s** with **5** passed, **5** failed and **1** skipped.
|Test suite|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|[DotnetTests.XUnitTests.CalculatorTests](#r0s0)|5 ✅|5 ❌|1 ⚪|118ms|
### ❌ <a id="user-content-r0s0" href="#r0s0">DotnetTests.XUnitTests.CalculatorTests</a>
|[DotnetTests.XUnitTests.CalculatorTests](#user-content-r0s0)|5 ✅|5 ❌|1 ⚪|118ms|
### ❌ <a id="user-content-r0s0" href="#user-content-r0s0">DotnetTests.XUnitTests.CalculatorTests</a>
```
✅ Custom Name
❌ Exception_In_TargetTest
Expand Down
250 changes: 125 additions & 125 deletions __tests__/__outputs__/fluent-validation-test-results.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions __tests__/__outputs__/jest-junit-eslint.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
|Report|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|fixtures/jest-junit-eslint.xml|1 ✅|||0ms|
## ✅ <a id="user-content-r0" href="#r0">fixtures/jest-junit-eslint.xml</a>
## ✅ <a id="user-content-r0" href="#user-content-r0">fixtures/jest-junit-eslint.xml</a>
**1** tests were completed in **0ms** with **1** passed, **0** failed and **0** skipped.
|Test suite|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|[test.jsx](#r0s0)|1 ✅|||0ms|
### ✅ <a id="user-content-r0s0" href="#r0s0">test.jsx</a>
|[test.jsx](#user-content-r0s0)|1 ✅|||0ms|
### ✅ <a id="user-content-r0s0" href="#user-content-r0s0">test.jsx</a>
```
test
✅ test.jsx
Expand Down
10 changes: 5 additions & 5 deletions __tests__/__outputs__/jest-junit.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
|Report|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|fixtures/jest-junit.xml|1 ✅|4 ❌|1 ⚪|1s|
## ❌ <a id="user-content-r0" href="#r0">fixtures/jest-junit.xml</a>
## ❌ <a id="user-content-r0" href="#user-content-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](#user-content-r0s0)|1 ✅|3 ❌||486ms|
|[__tests__\second.test.js](#user-content-r0s1)||1 ❌|1 ⚪|82ms|
### ❌ <a id="user-content-r0s0" href="#user-content-r0s0">__tests__\main.test.js</a>
```
Test 1
✅ Passing test
Expand All @@ -21,7 +21,7 @@ Test 2
❌ Exception in test
Error: Some error
```
### ❌ <a id="user-content-r0s1" href="#r0s1">__tests__\second.test.js</a>
### ❌ <a id="user-content-r0s1" href="#user-content-r0s1">__tests__\second.test.js</a>
```
❌ 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:
Expand Down
6 changes: 3 additions & 3 deletions __tests__/__outputs__/jest-react-component-test-results.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
|Report|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|fixtures/external/jest/jest-react-component-test-results.xml|1 ✅|||1000ms|
## ✅ <a id="user-content-r0" href="#r0">fixtures/external/jest/jest-react-component-test-results.xml</a>
## ✅ <a id="user-content-r0" href="#user-content-r0">fixtures/external/jest/jest-react-component-test-results.xml</a>
**1** tests were completed in **1000ms** with **1** passed, **0** failed and **0** skipped.
|Test suite|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|[\<Component /\>](#r0s0)|1 ✅|||798ms|
### ✅ <a id="user-content-r0s0" href="#r0s0">\<Component /\></a>
|[\<Component /\>](#user-content-r0s0)|1 ✅|||798ms|
### ✅ <a id="user-content-r0s0" href="#user-content-r0s0">\<Component /\></a>
```
✅ <Component /> should render properly
```
Expand Down
10 changes: 5 additions & 5 deletions __tests__/__outputs__/jest-test-results.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
|Report|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|fixtures/external/jest/jest-test-results.xml|4207 ✅|2 ❌|30 ⚪|166s|
## ❌ <a id="user-content-r0" href="#r0">fixtures/external/jest/jest-test-results.xml</a>
## ❌ <a id="user-content-r0" href="#user-content-r0">fixtures/external/jest/jest-test-results.xml</a>
**4239** tests were completed in **166s** with **4207** passed, **2** failed and **30** skipped.
|Test suite|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
Expand Down Expand Up @@ -81,7 +81,7 @@
|e2e/__tests__/jasmineAsyncWithPendingDuringTest.ts|1 ✅||1 ⚪|72ms|
|e2e/__tests__/jest.config.js.test.ts|3 ✅|||2s|
|e2e/__tests__/jest.config.ts.test.ts|5 ✅|||14s|
|[e2e/__tests__/jestChangedFiles.test.ts](#r0s75)|9 ✅|1 ❌||9s|
|[e2e/__tests__/jestChangedFiles.test.ts](#user-content-r0s75)|9 ✅|1 ❌||9s|
|e2e/__tests__/jestEnvironmentJsdom.test.ts|1 ✅|||2s|
|e2e/__tests__/jestRequireActual.test.ts|1 ✅|||2s|
|e2e/__tests__/jestRequireMock.test.ts|1 ✅|||2s|
Expand All @@ -104,7 +104,7 @@
|e2e/__tests__/nodePath.test.ts|1 ✅|||866ms|
|e2e/__tests__/noTestFound.test.ts|2 ✅|||1s|
|e2e/__tests__/noTestsFound.test.ts|5 ✅|||3s|
|[e2e/__tests__/onlyChanged.test.ts](#r0s98)|8 ✅|1 ❌||22s|
|[e2e/__tests__/onlyChanged.test.ts](#user-content-r0s98)|8 ✅|1 ❌||22s|
|e2e/__tests__/onlyFailuresNonWatch.test.ts|1 ✅|||3s|
|e2e/__tests__/overrideGlobals.test.ts|2 ✅|||2s|
|e2e/__tests__/pnp.test.ts|1 ✅|||3s|
Expand Down Expand Up @@ -406,7 +406,7 @@
|packages/pretty-format/src/__tests__/prettyFormat.test.ts|86 ✅|||219ms|
|packages/pretty-format/src/__tests__/react.test.tsx|55 ✅|||325ms|
|packages/pretty-format/src/__tests__/ReactElement.test.ts|3 ✅|||64ms|
### ❌ <a id="user-content-r0s75" href="#r0s75">e2e/__tests__/jestChangedFiles.test.ts</a>
### ❌ <a id="user-content-r0s75" href="#user-content-r0s75">e2e/__tests__/jestChangedFiles.test.ts</a>
```
✅ gets hg SCM roots and dedupes them
✅ gets git SCM roots and dedupes them
Expand All @@ -420,7 +420,7 @@
✅ monitors only root paths for hg
✅ handles a bad revision for "changedSince", for hg
```
### ❌ <a id="user-content-r0s98" href="#r0s98">e2e/__tests__/onlyChanged.test.ts</a>
### ❌ <a id="user-content-r0s98" href="#user-content-r0s98">e2e/__tests__/onlyChanged.test.ts</a>
```
✅ run for "onlyChanged" and "changedSince"
✅ run only changed files
Expand Down
6 changes: 3 additions & 3 deletions __tests__/__outputs__/junit-with-message.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
|Report|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|fixtures/junit-with-message.xml||1 ❌||1ms|
## ❌ <a id="user-content-r0" href="#r0">fixtures/junit-with-message.xml</a>
## ❌ <a id="user-content-r0" href="#user-content-r0">fixtures/junit-with-message.xml</a>
**1** tests were completed in **1ms** with **0** passed, **1** failed and **0** skipped.
|Test suite|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|[Test](#r0s0)||1 ❌||1ms|
### ❌ <a id="user-content-r0s0" href="#r0s0">Test</a>
|[Test](#user-content-r0s0)||1 ❌||1ms|
### ❌ <a id="user-content-r0s0" href="#user-content-r0s0">Test</a>
```
Fails
❌ Test
Expand Down
10 changes: 5 additions & 5 deletions __tests__/__outputs__/mocha-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
|Report|Passed|Failed|Skipped|Time|
|:---|---:|---:|---:|---:|
|fixtures/mocha-json.json|1 ✅|4 ❌|1 ⚪|12ms|
## ❌ <a id="user-content-r0" href="#r0">fixtures/mocha-json.json</a>
## ❌ <a id="user-content-r0" href="#user-content-r0">fixtures/mocha-json.json</a>
**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 ⚪|8ms|
### ❌ <a id="user-content-r0s0" href="#r0s0">test/main.test.js</a>
|[test/main.test.js](#user-content-r0s0)|1 ✅|3 ❌||1ms|
|[test/second.test.js](#user-content-r0s1)||1 ❌|1 ⚪|8ms|
### ❌ <a id="user-content-r0s0" href="#user-content-r0s0">test/main.test.js</a>
```
Test 1
✅ Passing test
Expand All @@ -24,7 +24,7 @@ Test 2
❌ Exception in test
Some error
```
### ❌ <a id="user-content-r0s1" href="#r0s1">test/second.test.js</a>
### ❌ <a id="user-content-r0s1" href="#user-content-r0s1">test/second.test.js</a>
```
⚪ Skipped test
❌ Timeout test
Expand Down
Loading

0 comments on commit d609194

Please sign in to comment.