UNPKG

@wordpress/e2e-test-utils

Version:
20 lines (18 loc) 552 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.arePrePublishChecksEnabled = arePrePublishChecksEnabled; var _wpDataSelect = require("./wp-data-select"); /** * Internal dependencies */ /** * Verifies if publish checks are enabled. * * @return {Promise<boolean>} Boolean which represents the state of prepublish checks. */ async function arePrePublishChecksEnabled() { return (0, _wpDataSelect.wpDataSelect)('core', 'isPublishSidebarEnabled'); } //# sourceMappingURL=are-pre-publish-checks-enabled.js.map