Skip to content

Test Helpers: Fix usePropertyValue for previously-undefined value#6279

Merged
nprimak merged 2 commits intomainfrom
aduth-use-property-value-delete-undefined
Apr 29, 2022
Merged

Test Helpers: Fix usePropertyValue for previously-undefined value#6279
nprimak merged 2 commits intomainfrom
aduth-use-property-value-delete-undefined

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Apr 29, 2022

Why: So that key in obj tests don't wrongly report true after a test has completed.

Observed in #6257 (see example test failure, root cause, impacted code)

**Why**: So that "key in obj" tests don't wrongly report "true" after a test has completed.

changelog: Internal, Automated Testing, Improve test helpers to avoid unintentional test failures
@aduth aduth requested a review from nprimak April 29, 2022 18:50
@nprimak nprimak merged commit d0e9fdd into main Apr 29, 2022
@nprimak nprimak deleted the aduth-use-property-value-delete-undefined branch April 29, 2022 19:08
peggles2 pushed a commit that referenced this pull request May 3, 2022
)

* Test Helpers: Fix usePropertyValue for previously-undefined value

**Why**: So that "key in obj" tests don't wrongly report "true" after a test has completed.

changelog: Internal, Automated Testing, Improve test helpers to avoid unintentional test failures

* actually set explicitly-undefined value
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