Bump ginkgo (#310)

This commit is contained in:
Ettore Di Giacinto
2022-10-18 10:21:33 +02:00
committed by GitHub
parent eecde087e9
commit 5f231da649
287 changed files with 21156 additions and 4289 deletions

View File

@@ -2,6 +2,7 @@ package internal
import (
"strings"
"time"
"github.com/onsi/ginkgo/v2/types"
)
@@ -40,6 +41,10 @@ func (s Spec) FlakeAttempts() int {
return flakeAttempts
}
func (s Spec) SpecTimeout() time.Duration {
return s.FirstNodeWithType(types.NodeTypeIt).SpecTimeout
}
type Specs []Spec
func (s Specs) HasAnySpecsMarkedPending() bool {