Replace RunSpecsWithDefaultAndCustomReporters with RunSpecs.

Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com>
This commit is contained in:
Xun Jiang
2024-07-22 15:58:00 +08:00
parent 84feddb082
commit afca7dd6fe
3 changed files with 4 additions and 8 deletions

View File

@@ -24,7 +24,6 @@ import (
"time"
. "github.com/onsi/ginkgo/v2"
"github.com/onsi/ginkgo/v2/reporters"
. "github.com/onsi/gomega"
"github.com/pkg/errors"
@@ -114,8 +113,7 @@ func TestE2e(t *testing.T) {
}
RegisterFailHandler(Fail)
junitReporter := reporters.NewJUnitReporter("report.xml")
RunSpecsWithDefaultAndCustomReporters(t, "E2e Suite", []Reporter{junitReporter})
RunSpecs(t, "E2e Suite")
}
var _ = BeforeSuite(func() {