@opentap/runner-client 2.14.0-alpha.1.1 → 2.14.0-alpha.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/RunnerClient.d.ts +1 -1
- package/lib/RunnerClient.js +1 -1
- package/package.json +1 -1
package/lib/RunnerClient.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { BaseClient } from './BaseClient';
|
|
|
3
3
|
import { ConnectionOptions } from 'nats.ws';
|
|
4
4
|
export declare class RunnerClient extends BaseClient {
|
|
5
5
|
default: {
|
|
6
|
-
startSession: (testPlanRepositoryReference
|
|
6
|
+
startSession: (testPlanRepositoryReference?: RepositoryPackageReference) => Promise<Session>;
|
|
7
7
|
getImage: () => Promise<Image>;
|
|
8
8
|
setImage: (image: Image) => Promise<Image>;
|
|
9
9
|
getSettings: () => Promise<RepositoryPackageReference>;
|
package/lib/RunnerClient.js
CHANGED
|
@@ -25,7 +25,7 @@ var RunnerClient = /** @class */ (function (_super) {
|
|
|
25
25
|
Session will have referenced TestPlan pre-loaded. The Session will be
|
|
26
26
|
created with the base image and base settings. */
|
|
27
27
|
startSession: function (testPlanRepositoryReference) {
|
|
28
|
-
return _this.request('StartDefaultSession', testPlanRepositoryReference)
|
|
28
|
+
return _this.request('StartDefaultSession', testPlanRepositoryReference !== null && testPlanRepositoryReference !== void 0 ? testPlanRepositoryReference : null)
|
|
29
29
|
.then(function (sessionJs) { return Session.fromJS(sessionJs); })
|
|
30
30
|
.then(_this.success())
|
|
31
31
|
.catch(_this.error());
|