tests/testthat/test-mold.R

# ------------------------------------------------------------------------------
# run_mold()

test_that("`run_mold()` throws an informative default error", {
  expect_snapshot(error = TRUE, run_mold(1))
})

Try the hardhat package in your browser

Any scripts or data that you put into this service are public.

hardhat documentation built on March 31, 2023, 10:21 p.m.