autop: Include tests for removep
functionality
#15152
Labels
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
Needs Dev
Ready for, and needs developer efforts
[Package] Autop
/packages/autop
[Type] Automated Testing
Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.
[Type] Task
Issues or PRs that have been broken down into an individual action to take
Previously: #15128 (comment)
As described at #15128 (comment), due to the method of porting and adapting
autop
andremovep
functions from previous core equivalent PHP and JavaScript implementations, there were no unit tests included forremovep
.This function is notable due to its potential impact on content produced for posts consisting of legacy content (only containing the Classic block).
gutenberg/packages/editor/src/store/selectors.js
Lines 821 to 831 in d5bdd53
Task: Add unit test coverage for the
removep
function.The text was updated successfully, but these errors were encountered: