Skip to main content

getTestEnvironment

For the complete documentation index, see llms.txt

@midnight-ntwrk/testkit-js v4.0.4


getTestEnvironment(logger): TestEnvironment

Returns the appropriate test environment based on the MN_TEST_ENVIRONMENT variable.

Parameters

logger

Logger

The logger instance to be used by the test environment.

Returns

TestEnvironment

The selected test environment instance.