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

Add test for default value handling in parser #70

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

alecgeatches
Copy link
Contributor

Description

See #67. Currently, when there is no default value available for a block attribute, that attribute is not represented in the block's attribute output.

This PR primarily adds tests to define this behavior as expected, and put it under unit testing.

Steps to Test

  1. Check out PR.
  2. Run wp-env start
  3. Run composer install.
  4. Run composer run test
  5. Verify tests pass.

@alecgeatches alecgeatches self-assigned this Jul 29, 2024
@alecgeatches alecgeatches requested a review from a team as a code owner July 29, 2024 16:32
@alecgeatches alecgeatches merged commit adeae66 into trunk Jul 29, 2024
3 checks passed
@alecgeatches alecgeatches deleted the add/default-attribute-tests branch July 29, 2024 18:35
@alecgeatches alecgeatches mentioned this pull request Aug 7, 2024
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.

1 participant