@mablhq/mabl-cli 2.65.3 → 2.67.0

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.
@@ -783,6 +783,14 @@ class MablApiClient extends basicApiClient_1.BasicApiClient {
783
783
  requestBody.actions = actions;
784
784
  return requestBody;
785
785
  }
786
+ async getRecentTestRunsForTest(testId) {
787
+ try {
788
+ return await this.makeGetRequest(`${this.baseApiUrl}/journeyRuns/journey/${testId}`);
789
+ }
790
+ catch (error) {
791
+ throw toApiError(`Failed to retrieve test runs for test`, error);
792
+ }
793
+ }
786
794
  async getTestRunsForPlan(planRunId) {
787
795
  try {
788
796
  return this.makeGetRequest(`${this.baseApiUrl}/journeyRuns/planRun/${planRunId}`);