Module: tests

Members

(inner, constant) server

Test API server that simulates a vendor's API.

Test API server that simulates a vendor's API. Upon start, it sends a POST request to the Chiron API with a fake completion.

Source:

Methods

(inner) generateRandomString() → {string}

Generates a random string to simulate a completion property

.

Generates a random string to simulate a completion property

Source:
Returns:
Type
string

(inner) generateUUID() → {string}

Generates a UUID to simulate a MongoDB ObjectId

.

Generates a UUID to simulate a MongoDB ObjectId

Source:
Returns:
Type
string