diff --git a/tests/testthat/helper-HTML.R b/tests/testthat/helper-HTML.R
index 1018c57f..3e7fe5a2 100644
--- a/tests/testthat/helper-HTML.R
+++ b/tests/testthat/helper-HTML.R
@@ -35,7 +35,7 @@ tests_init <- function(dir = ".", ...) {
ex <- tests_exit()
# start a non-blocking local file server under path/to/animint/tests/testhat
testPath <- find_test_path(dir)
- run_servr(port = "4848", directory = testPath)
+ run_servr(port = 4848, directory = testPath)
# animint tests are performed in path/to/testthat/animint-htmltest/
# note this path has to match the out.dir argument in animint2THML...
testDir <- file.path(testPath, "animint-htmltest")