Skip to content

Commit

Permalink
add new Fulfill for ad report.
Browse files Browse the repository at this point in the history
  • Loading branch information
kt-12 committed Nov 7, 2024
1 parent 64eb3b4 commit d1fe9eb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/e2e/utils/mock-requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,19 @@ export default class MockRequests {
);
}

/**
* Fulfill the Ads Report Program request.
*
* @param {Object} payload
* @return {Promise<void>}
*/
async fulfillAdsReportProgram( payload ) {
await this.fulfillRequest(
/\/wc\/gla\/ads\/reports\/programs\b/,
payload
);
}

/**
* Fulfill the Target Audience request.
*
Expand Down

0 comments on commit d1fe9eb

Please sign in to comment.