Skip to content

Commit e4fc30b

Browse files
committed
template requires copying multiple files now
1 parent 4d863a6 commit e4fc30b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/testthat.R

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,7 @@ save_outputs <- function(gg, name) {
116116
dir.create(test_dir, recursive = T)
117117
# copy over diffing template
118118
file.copy(
119-
file.path(table_dir, "template", "index.html"),
120-
test_dir,
121-
recursive = T
119+
dir(file.path(table_dir, "template"), full.names = TRUE), test_dir
122120
)
123121
# overwrite the default JSON
124122
writeLines(

0 commit comments

Comments
 (0)