tests/testthat/test-stimulus-controller.R

test_that("ss_use_controller() works", {

  with_tempdir({
    ss_use_controller("hello")
    expect_file_exists(path(getwd(), "hello_controller.js"))
  })

})
tjpalanca/hotwire.R documentation built on Dec. 23, 2021, 10:59 a.m.