fix(report): fix error if miconfigs are empty (#5782)

This commit is contained in:
DmitriyLewen
2023-12-13 15:34:37 +06:00
committed by GitHub
parent 9b4bcedf0e
commit c317fe828d
3 changed files with 40 additions and 1 deletions

View File

@@ -344,6 +344,15 @@ func TestClientServerWithFormat(t *testing.T) {
},
golden: "testdata/alpine-310.html.golden",
},
{
name: "alpine 3.10 with junit template",
args: csArgs{
Format: "template",
TemplatePath: "@../contrib/junit.tpl",
Input: "testdata/fixtures/images/alpine-310.tar.gz",
},
golden: "testdata/alpine-310.junit.golden",
},
{
name: "alpine 3.10 with github dependency snapshots format",
args: csArgs{