@wordpress/e2e-test-utils
Version:
End-To-End (E2E) test utils for WordPress.
14 lines (13 loc) • 395 B
JavaScript
/**
* Internal dependencies
*/
import { wpDataSelect } from './wp-data-select';
/**
* Verifies if publish checks are enabled.
*
* @return {Promise<boolean>} Boolean which represents the state of prepublish checks.
*/
export async function arePrePublishChecksEnabled() {
return wpDataSelect('core', 'isPublishSidebarEnabled');
}
//# sourceMappingURL=are-pre-publish-checks-enabled.js.map