Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 259 Bytes
context("waterfall")
test_that("Simple waterfall works", {
p <- plot_ly() %>%
add_trace(
type = "waterfall",
x = c(0, 1, 2, 3, 4, 5),
y = c(1, 0.5, 0.7, -1.2, 0.3, 0.4)
)
expect_doppelganger_built(p, "waterfall-simple")
})
You can’t perform that action at this time.