github.com/devster/tarreleaser@v0.0.0-20221207180803-c608f4eb8918/testlib/context.go (about)

     1  package testlib
     2  
     3  import (
     4  	"github.com/devster/tarreleaser/pkg/config"
     5  	"github.com/devster/tarreleaser/pkg/context"
     6  	"time"
     7  )
     8  
     9  func NewContext() *context.Context {
    10  	ctx, _ := context.NewWithTimeout(config.Project{}, 15*time.Minute)
    11  	return ctx
    12  }