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 49

# static constant exports.defineTestFixtures

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

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

# 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 69

# 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 23

# 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 34

# 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 103

# 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 87