Skip to content

Commit

Permalink
add test_local_timer function
Browse files Browse the repository at this point in the history
  • Loading branch information
joethorley committed Aug 5, 2024
1 parent 1a92534 commit ee5aea8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/testthat/test-local-timer.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,11 @@ test_that("local_timer", {
})

test_that("test_local_timer()", {
test_local_timer <- function() {
local_timer()
Sys.sleep(0.1)
NULL
}

test_local_timer()
})

0 comments on commit ee5aea8

Please sign in to comment.