To learn more about using JavaScript in LeanFT, see Setting up and working with the JavaScript SDK.
For JavaScript code samples, see Code Samples - JavaScript.

LFT

LFT

LFT namespace - The main LeanFT module.

Methods

afterTest() → {void}

This method should be called by the user after each test method.
Returns:
Type
void

beforeTest() → {void}

This method should be called by the user before each test method.
Returns:
Type
void

cleanup() → {void}

Performs an SDK cleanup when connection ends.
Returns:
Type
void

init(config) → {Promise.<void>}

Initializes the SDK with the specified configuration.
Parameters:
Name Type Description
config string The SDK configuration
Returns:
Type
Promise.<void>