Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Add tests for CorePreformatted Block #28

Merged
merged 3 commits into from
Sep 26, 2024
Merged

Conversation

ashutoshgautams
Copy link
Collaborator

@ashutoshgautams ashutoshgautams commented Sep 24, 2024

Tracking wpengine#301


What

This PR adds comprehensive tests for the CorePreformatted block and its attributes.

Tested attributes:

  • anchor
  • backgroundColor
  • className
  • content
  • fontFamily
  • fontSize
  • gradient
  • lock
  • style
  • textColor

Untested fields:

    • CorePreformattedAttributes.metadata - @todo

Exposed issues:

  • None identified during testing. All attributes appear to be correctly implemented and returned as expected.

@ashutoshgautams ashutoshgautams marked this pull request as ready for review September 24, 2024 19:00
Copy link
Collaborator

@justlevine justlevine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the Additional notes.

Looks good - go ahead and open on WPE 🙌

@ashutoshgautams ashutoshgautams added the has-upstream-pr A PR has been opened against wpengine's repo label Sep 24, 2024
@justlevine justlevine added has-upstream-pr A PR has been opened against wpengine's repo and removed has-upstream-pr A PR has been opened against wpengine's repo labels Sep 24, 2024
@justlevine justlevine merged commit 521551b into main Sep 26, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has-upstream-pr A PR has been opened against wpengine's repo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants