@umbraco/playwright-testhelpers
Version:
Test helpers for making playwright tests for Umbraco solutions
15 lines • 510 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.PublishedCacheApiHelper = void 0;
class PublishedCacheApiHelper {
api;
constructor(api) {
this.api = api;
}
async getStatus() {
const response = await this.api.get(this.api.baseUrl + '/umbraco/management/api/v1/published-cache/status');
return await response.json();
}
}
exports.PublishedCacheApiHelper = PublishedCacheApiHelper;
//# sourceMappingURL=PublishedCacheApiHelper.js.map
;