Skip to content

Commit

Permalink
apply post-test setup.R best practice
Browse files Browse the repository at this point in the history
  • Loading branch information
cregouby committed Jun 15, 2024
1 parent 9cc8f6e commit 1a4b32d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ attrition_tree <- attrition %>%
data.tree::as.Node()

# Run after all tests
withr::defer(teardown_env())
withr::defer(cleanup(), teardown_env())

0 comments on commit 1a4b32d

Please sign in to comment.