Skip to content

Commit

Permalink
Only test that the dependency exists
Browse files Browse the repository at this point in the history
... not what shiny's dependencies are
  • Loading branch information
schloerke committed Sep 14, 2021
1 parent 6fdde6b commit 5e0344a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-preview_mobile.R
Expand Up @@ -22,7 +22,7 @@ test_that("dependencies", {
deps_names <- vapply(deps, `[[`, "name", FUN.VALUE = character(1))
idx <- which(deps_names == "marvel-devices-css")

expect_length(deps, 2)
expect_length(idx, 1)
expect_equal(deps[[idx]]$name, "marvel-devices-css")
expect_equal(deps[[idx]]$version, "1.0.0")
expect_equal(deps[[idx]]$stylesheet, "devices.min.css")
Expand Down

0 comments on commit 5e0344a

Please sign in to comment.