This commit is contained in:
A.J. Kaptijn 2024-03-22 10:53:27 +01:00
parent 506c983668
commit 41e145556f
2 changed files with 2 additions and 2 deletions

2
dist/index.js generated vendored
View file

@ -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: {

View file

@ -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',