modulestest

package
v0.35.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2021 License: AGPL-3.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VU added in v0.35.0

type VU struct {
	CtxField     context.Context
	InitEnvField *common.InitEnvironment
	StateField   *lib.State
	RuntimeField *goja.Runtime
}

VU is a modules.VU implementation meant to be used within tests

func (*VU) Context added in v0.35.0

func (m *VU) Context() context.Context

Context returns internally set field to conform to modules.VU interface

func (*VU) InitEnv added in v0.35.0

func (m *VU) InitEnv() *common.InitEnvironment

InitEnv returns internally set field to conform to modules.VU interface

func (*VU) Runtime added in v0.35.0

func (m *VU) Runtime() *goja.Runtime

Runtime returns internally set field to conform to modules.VU interface

func (*VU) State added in v0.35.0

func (m *VU) State() *lib.State

State returns internally set field to conform to modules.VU interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL