Skip to content

Create testthat/setup.R #35

@jonthegeek

Description

@jonthegeek

Along these lines:

library(httptest2)

# Don't repeat the base url in httptest2 recording paths.
set_redactor(function(x) {
  gsub_response(x, paste0("https://api.apis.guru/v2", "/"), "", fixed = TRUE)
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions