augment-vir - v31.51.1
Preparing search index...
assertTestContext
Function assertTestContext
assertTestContext
<
const
SpecificEnv
extends
TestEnv
>
(
this
:
void
,
context
:
Readonly
<
UniversalTestContext
>
,
env
:
SpecificEnv
,
)
:
asserts
context
is
TestContextByEnv
[
SpecificEnv
]
Asserts that the given context is for the given env, otherwise throws an Error.
Type Parameters
const
SpecificEnv
extends
TestEnv
Parameters
this
:
void
context
:
Readonly
<
UniversalTestContext
>
env
:
SpecificEnv
Returns
asserts
context
is
TestContextByEnv
[
SpecificEnv
]
Package
@augment-vir/test
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
augment-vir - v31.51.1
Loading...
Asserts that the given context is for the given env, otherwise throws an Error.