Module: test/app-integration-helper-customization

Provides character customization utilities used in integration tests.

Source:

Methods

(static) getCustomizationForUserWithToken() → {Promise.<Response>}

Posts a request to get the customization for user with given token.

Source:
Returns:
Type
Promise.<Response>

(static) getRandomCustomizationForUserWithToken() → {Promise.<Response>}

Posts a request to get a random customization for user with given token.

Source:
Returns:
Type
Promise.<Response>

(static) saveInvalidCustomizationForUserWithToken() → {Promise.<Response>}

Posts a request to save an invalid sample customization for user with given token.

Source:
Returns:
Type
Promise.<Response>

(static) saveValidAlternativeCustomizationForUserWithToken() → {Promise.<Response>}

Posts a request to save a valid sample customization for user with given token.

Source:
Returns:
Type
Promise.<Response>

(static) saveValidCustomizationForUserWithToken() → {Promise.<Response>}

Posts a request to save a valid sample customization for user with given token.

Source:
Returns:
Type
Promise.<Response>

(static) stripCustomization(customization)

Customization data received from server might include metadata. This makes testing harder since deep equals from Chai won't work. Let's omit everything except the real stuff.

Parameters:
Name Type Description
customization
Source: