Skip to content

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
@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.

4 participants