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

test: rename generic test titles #4453

Merged
merged 1 commit into from
May 8, 2024
Merged

test: rename generic test titles #4453

merged 1 commit into from
May 8, 2024

Conversation

straker
Copy link
Contributor

@straker straker commented May 7, 2024

These tests failed while in-development of #4452 and it really confused me. Based on how the title is written, I initially thought that it was making sure that .selector (etc.) for the DqElement prototype function was never called. But what it's really making sure is that the .selector (etc.) property is not called for the one node.

The reason that distinction matters is because processAggregate calls nodeSerializer which in turn calls the toJSON method of a DqElement, which calls the .selector (etc.) property. So it would be impossible to never call the DqElement properties.

@straker straker requested a review from a team as a code owner May 7, 2024 20:27
@straker straker changed the title tests: rename too generic test titles test: rename too generic test titles May 7, 2024
@straker straker changed the title test: rename too generic test titles test: rename generic test titles May 7, 2024
@romankulkovsf

This comment was marked as off-topic.

@straker straker merged commit 00b9fba into develop May 8, 2024
21 of 22 checks passed
@straker straker deleted the rename-test branch May 8, 2024 13:48
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.

None yet

3 participants