@wordpress/e2e-test-utils
Version:
End-To-End (E2E) test utils for WordPress.
14 lines (13 loc) • 401 B
JavaScript
/**
* Internal dependencies
*/
import { wpDataSelect } from './wp-data-select';
/**
* Returns a promise which resolves with the edited post content (HTML string).
*
* @return {Promise} Promise resolving with post content markup.
*/
export async function getEditedPostContent() {
return wpDataSelect('core/editor', 'getEditedPostContent');
}
//# sourceMappingURL=get-edited-post-content.js.map