Skip to content

test(Container): name the nested-inheritance spec in BDD style#1069

Merged
DreaminDani merged 1 commit into
mainfrom
fix/container-test-bdd-naming
Jun 9, 2026
Merged

test(Container): name the nested-inheritance spec in BDD style#1069
DreaminDani merged 1 commit into
mainfrom
fix/container-test-bdd-naming

Conversation

@DreaminDani

@DreaminDani DreaminDani commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Addresses @hoorayimhelping's review nit on #1067: the nested-inheritance guard's describe/it read as implementation labels rather than a sentence.

Before

Nested custom-property inheritance
  › child Container does not inherit parent fillHeight/grow/overflow

After (reads as natural-language BDD, per control-plane's bdd-tests convention)

isolating layout custom properties from nested Containers
  › does not let a nested Container inherit its ancestor's fillHeight, grow, or overflow

No behavior change — only the describe/it strings. The test still passes:

✓ … does not let a nested Container inherit its ancestor's fillHeight, grow, or overflow (1 passed)

🤖 Generated with Claude Code


Note

Low Risk
Test-only rename of describe/it strings; no production or assertion changes.

Overview
Renames the nested Container layout test’s describe and it titles so they read as natural-language BDD (aligned with control-plane’s bdd-tests convention) instead of implementation-style labels.

No test logic or assertions change — only the strings shown in test output.

Reviewed by Cursor Bugbot for commit ee21a47. Bugbot is set up for automated code reviews on this repo. Configure here.

The `describe`/`it` for the custom-property inheritance guard read as
implementation labels ("child Container does not inherit …") rather than a
sentence. Rename them to natural-language BDD per the bdd-tests convention, so
the full path reads "isolating layout custom properties from nested Containers
› does not let a nested Container inherit its ancestor's fillHeight, grow, or
overflow". No behavior change — only the test names.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jun 8, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: ee21a47

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@workflow-authentication-public

Copy link
Copy Markdown
Contributor

Storybook Preview Deployed

✅ Preview URL: https://click-oosnpamxs-clickhouse.vercel.app

Built from commit: d67533ec5a0e713cb39bb7322b13e9cdeba5dcb0

@DreaminDani DreaminDani enabled auto-merge (squash) June 8, 2026 18:17
@DreaminDani DreaminDani merged commit 8de708a into main Jun 9, 2026
13 checks passed
@DreaminDani DreaminDani deleted the fix/container-test-bdd-naming branch June 9, 2026 18:01
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