Search
Preparing search index...
The search index is not available
ForgeRock JavaScript SDK
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
CustomTestEnvironment
Class CustomTestEnvironment
A custom environment to set the TextEncoder that is required by TensorFlow.js.
Hierarchy
JSDOMEnvironment
CustomTestEnvironment
Implements
JestEnvironment
<
number
>
Index
Constructors
constructor
Properties
custom
Export
Conditions
dom
fake
Timers
fake
Timers
Modern
global
module
Mocker
Methods
export
Conditions
get
VmContext
setup
teardown
Constructors
constructor
new
Custom
Test
Environment
(
config
:
any
, ctx
:
any
)
:
CustomTestEnvironment
Parameters
config:
any
ctx:
any
Returns
CustomTestEnvironment
Properties
custom
Export
Conditions
custom
Export
Conditions
:
string
[]
dom
dom
:
JSDOM
|
null
fake
Timers
fake
Timers
:
LegacyFakeTimers
<
number
>
|
null
fake
Timers
Modern
fake
Timers
Modern
:
ModernFakeTimers
|
null
global
global
:
Win
module
Mocker
module
Mocker
:
ModuleMocker
|
null
Methods
export
Conditions
export
Conditions
(
)
:
Array
<
string
>
Returns
Array
<
string
>
get
VmContext
get
VmContext
(
)
:
Context
|
null
Returns
Context
|
null
setup
setup
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
teardown
teardown
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Globals
Custom
Test
Environment
constructor
custom
Export
Conditions
dom
fake
Timers
fake
Timers
Modern
global
module
Mocker
export
Conditions
get
VmContext
setup
teardown
A custom environment to set the TextEncoder that is required by TensorFlow.js.