tests/testthat/test-utilities.R

test_that("Check notification works", {
  expect_snapshot(vascr_notify("success", "yay"))
  expect_snapshot(vascr_notify("info", "Test1"))  
  expect_snapshot(vascr_notify("warning", "TEST"))  
  expect_error(vascr_notify("error", "ERROR"))  

})
JamesHucklesby/vascr documentation built on July 16, 2025, 8:16 p.m.