UNPKG

@xray-app/xray-automation

Version:

Library for uploading test results to Xray Test Management

17 lines (16 loc) 620 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.XrayCloudGraphQLResponseV2 = void 0; class XrayCloudGraphQLResponseV2 { constructor(response) { this._response = response; if (response.data !== undefined && response.data.testExecIssue !== undefined) { this.id = response.data.testExecIssue.id; this.key = response.data.testExecIssue.key; this.selfUrl = response.data.testExecIssue.self; } } } exports.XrayCloudGraphQLResponseV2 = XrayCloudGraphQLResponseV2; exports.default = XrayCloudGraphQLResponseV2;