Skip to content

feat: support /children directive in aria tree template#10

Merged
hi-ogawa merged 16 commits intovitest-dev:masterfrom
hi-ogawa:test/children-directive-status
Mar 19, 2026
Merged

feat: support /children directive in aria tree template#10
hi-ogawa merged 16 commits intovitest-dev:masterfrom
hi-ogawa:test/children-directive-status

Conversation

@hi-ogawa
Copy link
Copy Markdown
Collaborator

@hi-ogawa hi-ogawa commented Mar 19, 2026

hi-ogawa and others added 15 commits March 19, 2026 09:06
Add tests documenting that ivya's merge layer ignores containerMode
(equal/deep-equal) and always uses contain semantics. Also captures
that renderAriaTemplate drops the /children directive on round-trip.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Emit `/children: equal` and `/children: deep-equal` when serializing
templates. The default `contain` mode is omitted. Pseudo-prop lines
are now rendered before children to match parse order.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Tests for equal, deep-equal, and contain modes including:
- directive preserved on matched branch, purged on failed
- deep-equal propagation to descendants
- deep-equal with omitted children means "must have zero"

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hi-ogawa hi-ogawa marked this pull request as ready for review March 19, 2026 02:10
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 19, 2026

npm i https://pkg.pr.new/ivya@10

commit: 808bdf4

@hi-ogawa hi-ogawa merged commit 75c9606 into vitest-dev:master Mar 19, 2026
6 checks passed
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