Versions in this module Expand all Collapse all v0 v0.27.1 Jul 30, 2020 Changes in this version + var ErrCheckInInitContext = common.NewInitContextError("Using check() in the init context is not supported") + var ErrGroupInInitContext = common.NewInitContextError("Using group() in the init context is not supported") + type K6 struct + func New() *K6 + func (*K6) Check(ctx context.Context, arg0, checks goja.Value, extras ...goja.Value) (bool, error) + func (*K6) Fail(msg string) (goja.Value, error) + func (*K6) Group(ctx context.Context, name string, fn goja.Callable) (goja.Value, error) + func (*K6) RandomSeed(ctx context.Context, seed int64) + func (*K6) Sleep(ctx context.Context, secs float64)