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 #301

Merged
merged 3 commits into from
Oct 3, 2024

Conversation

ashutoshgautams
Copy link
Contributor

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 requested a review from a team as a code owner September 24, 2024 19:04
Copy link

changeset-bot bot commented Sep 24, 2024

🦋 Changeset detected

Latest commit: 4e5fcfb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@wpengine/wp-graphql-content-blocks Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ashutoshgautams
Copy link
Contributor Author

cc: @justlevine

@jasonbahl jasonbahl merged commit 29227e6 into wpengine:main Oct 3, 2024
10 of 11 checks passed
@justlevine justlevine deleted the core-preformatted-test branch October 18, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants