Skip to content

Commit

Permalink
remove buggy is_alive() test
Browse files Browse the repository at this point in the history
  • Loading branch information
mcsiple committed Oct 29, 2021
1 parent 9a925db commit af4a7e6
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions tests/testthat/test-golem-recommended.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@ test_that("app server", {
})

# Configure this test to fit your need
test_that(
"app launches",{
skip_on_cran()
skip_on_travis()
skip_on_appveyor()
x <- processx::process$new(
"R",
c(
"-e",
"pkgload::load_all(here::here());run_app()"
)
)
Sys.sleep(1)
expect_true(x$is_alive())
x$kill()
}
)
# test_that(
# "app launches",{
# skip_on_cran()
# skip_on_travis()
# skip_on_appveyor()
# x <- processx::process$new(
# "R",
# c(
# "-e",
# "pkgload::load_all(here::here());run_app()"
# )
# )
# Sys.sleep(1)
# expect_true(x$is_alive())
# x$kill()
# }
# )



Expand Down

0 comments on commit af4a7e6

Please sign in to comment.