mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 06:47:09 +01:00
.
This commit is contained in:
parent
506c983668
commit
41e145556f
2 changed files with 2 additions and 2 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
|
@ -382,7 +382,7 @@ class TestReporter {
|
|||
if (tr.failed === 0)
|
||||
return;
|
||||
let runName = tr.path.slice(0, tr.path.indexOf('/TestResults/'));
|
||||
runName = runName.slice(0, tr.path.indexOf('test/'));
|
||||
runName = runName.startsWith('test/') ? runName.slice(5) : runName;
|
||||
req.blocks.push({
|
||||
type: 'section',
|
||||
text: {
|
||||
|
|
|
|||
|
|
@ -327,7 +327,7 @@ class TestReporter {
|
|||
results.map((tr, runIndex) => {
|
||||
if (tr.failed === 0) return
|
||||
let runName = tr.path.slice(0, tr.path.indexOf('/TestResults/'))
|
||||
runName = runName.slice(0, tr.path.indexOf('test/'))
|
||||
runName = runName.startsWith('test/') ? runName.slice(5) : runName
|
||||
|
||||
req.blocks.push({
|
||||
type: 'section',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue