tests/testthat/helper.R

library(httptest)

# Create prom object of Prometheus class
# to use for function testing
prom <- Prometheus$new(host = "http://demo.robustperception.io", port = 9090)
glenn-m/promR documentation built on March 22, 2023, 8:49 p.m.