mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-16 22:37:09 +01:00
zo dan
This commit is contained in:
parent
8cdc3bbfe6
commit
506c983668
2 changed files with 4 additions and 2 deletions
3
dist/index.js
generated
vendored
3
dist/index.js
generated
vendored
|
|
@ -381,7 +381,8 @@ class TestReporter {
|
|||
results.map((tr, runIndex) => {
|
||||
if (tr.failed === 0)
|
||||
return;
|
||||
const runName = tr.path.slice(0, tr.path.indexOf('/TestResults/')).slice(0, tr.path.indexOf('test/'));
|
||||
let runName = tr.path.slice(0, tr.path.indexOf('/TestResults/'));
|
||||
runName = runName.slice(0, tr.path.indexOf('test/'));
|
||||
req.blocks.push({
|
||||
type: 'section',
|
||||
text: {
|
||||
|
|
|
|||
|
|
@ -326,7 +326,8 @@ class TestReporter {
|
|||
|
||||
results.map((tr, runIndex) => {
|
||||
if (tr.failed === 0) return
|
||||
const runName = tr.path.slice(0, tr.path.indexOf('/TestResults/')).slice(0, tr.path.indexOf('test/'))
|
||||
let runName = tr.path.slice(0, tr.path.indexOf('/TestResults/'))
|
||||
runName = runName.slice(0, tr.path.indexOf('test/'))
|
||||
|
||||
req.blocks.push({
|
||||
type: 'section',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue