tests/testthat/bdd-capabilities_api.R

describe("get_capabilities()", {
    it("returns a list", {
        get_capabilities() |>
        map(names) |>
        expect_snapshot()
    })
})

Try the PhilipsHue package in your browser

Any scripts or data that you put into this service are public.

PhilipsHue documentation built on May 6, 2022, 5:08 p.m.