Module: core/service-test-runner/create-service-tester

Methods

(async, inner) createServiceTester() → {module:core/service-test-runner/service-tester~ServiceTester}

Automatically create a ServiceTester.

When run from e.g. gem-rank.tester.js, this will create a tester that attaches to the service found in gem-rank.service.js.

This can't be used for .service.js files which export more than one service.

Source:
Returns:

ServiceTester instance

Type
module:core/service-test-runner/service-tester~ServiceTester