Skip to content

Add vcr use case for not including hostname in matching #79

@sckott

Description

@sckott

E.g., if you're testing with different base urls, e.g., https://foo.com/api/v1/stuff?q=bird vs. https://bar.com/api/v1/stuff?q=bird - you can set match_requests_on = c("path", "query") to ignore the changing hostname so that when you set different hostnames in different contexts (local machine vs. CI vs. other context) the tests work all the same

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions