Skip to content

Conversation

@SbsCruz
Copy link
Contributor

@SbsCruz SbsCruz commented Jan 16, 2026

Added the toBeEmpty matcher.

@SbsCruz SbsCruz requested a review from suany0805 January 16, 2026 19:20
};
}

export function isElementEmpty (element: Element): boolean {
Copy link
Contributor Author

@SbsCruz SbsCruz Jan 16, 2026

Choose a reason for hiding this comment

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

Just a little comment about this function team, this is a helper indeed, but since we have a lot of helpers for the styles matchers in this file, should we rename it to something like helpers/style.ts? causing the isElementEmpty function to be moved to another file? or are we ok with what we have now, thanks!

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