This commit is contained in:
A.J. Kaptijn 2024-03-22 00:49:40 +01:00
parent 8cdc3bbfe6
commit 506c983668
2 changed files with 4 additions and 2 deletions

3
dist/index.js generated vendored
View file

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