Skip to content

Expose method for clearing defined fake CharlatanHttpResponseDefinitions #19

Description

@mzdm

The map with CharlatanHttpResponseDefinitions is private, I would like to have an exposed method for clearing this map. I would like to use this method in tearDown so I don't have to instantiate Charlatan everytime.

Describe alternatives you've considered
Something like http-mock-adapter package has: https://github.com/lomsa-dev/http-mock-adapter/blob/eff6dc4563e30dcfe6b29bac7f7343567d61bdf6/lib/src/mixins/recording.dart#L42

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions