Namespace

api/test

api/test

Members

# static constant exports.defineTestFixture

Loads data from a modular test fixture file.

View Source api/test/test-utilities.ts, line 48

# static constant exports.defineTestFixtures

Loads all the data from an array of fixture file names.

View Source api/test/test-utilities.ts, line 61

# static constant exports.defineTestFixturesMethod

A validated method that loads the passed list of fixture files in the order passed.

View Source api/test/test-utilities.ts, line 79

# static constant exports.getDefinitions

Returns the definition array associated with collectionName in the loadJSON structure, or an empty array if none was found.

View Source api/test/test-utilities.ts, line 22

# static constant exports.loadCollection

Given a collection and the loadJSON structure, looks up the definitions and invokes define() on them.

View Source api/test/test-utilities.ts, line 33

# static constant exports.withLoggedInUser

Returns a Promise that resolves if one can successfully login with the passed credentials. Credentials default to the standard admin username and password.

View Source api/test/test-utilities.ts, line 109

# static constant exports.withRadGradSubscriptions

Returns a Promise that resolves when all RadGrad collections subscriptions are ready.

See:

View Source api/test/test-utilities.ts, line 93