File: test-icicle.R

package info (click to toggle)
r-cran-plotly 4.10.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 26,736 kB
  • sloc: javascript: 137,777; sh: 20; makefile: 6
file content (10 lines) | stat: -rw-r--r-- 305 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
test_that(
  "icicle trace basically works", {
    icicle <- jsonlite::fromJSON(
      "https://raw.githubusercontent.com/plotly/plotly.js/master/test/image/mocks/uniformtext_icicle.json", simplifyVector = FALSE
    )
    expect_doppelganger(
      as_widget(icicle), 
      "uniformtext_icicle"
    )
})