Skip to content

Add Environment.Clear #260

Closed
Closed
@gavv

Description

@gavv
Owner

Add new method Environment.Clear which removes all values.

New method should have documentation comment with code example and be covered by tests.

Activity

e-berman

e-berman commented on Feb 19, 2023

@e-berman
Contributor

I'll give this one a go @gavv.

Sorry for the stupid question, but you want to keep the keys and only clear the values, correct?

gavv

gavv commented on Feb 19, 2023

@gavv
OwnerAuthor

Cool, thank you. Nope, sorry for misunderstanding, I meant just to remove everything, keys and values. To allow the user to reset state.

linked a pull request that will close this issueAdd Environment.Clear method #300on Feb 22, 2023
added this to the v2 milestone on Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

    Development

    Participants

    @gavv@e-berman

    Issue actions

      Add Environment.Clear · Issue #260 · gavv/httpexpect