You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
342 B

  1. package global
  2. import (
  3. "time"
  4. "github.com/onsi/ginkgo/internal/failer"
  5. "github.com/onsi/ginkgo/internal/suite"
  6. )
  7. const DefaultTimeout = time.Duration(1 * time.Second)
  8. var Suite *suite.Suite
  9. var Failer *failer.Failer
  10. func init() {
  11. InitializeGlobals()
  12. }
  13. func InitializeGlobals() {
  14. Failer = failer.New()
  15. Suite = suite.New(Failer)
  16. }