Skip to content

Commit

Permalink
Skip test for create project when quarto 1.5
Browse files Browse the repository at this point in the history
This is while quarto-dev/quarto-cli#8809 is dealt with
  • Loading branch information
cderv committed Feb 21, 2024
1 parent 440cd86 commit 9c04665
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/testthat/test-create.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
test_that("Create a quarto project", {
skip_if_no_quarto("1.4")
# TODO: Fix the test once issue solve upstream
# - https://github.com/quarto-dev/quarto-cli/issues/8809
# - https://github.com/quarto-dev/quarto-r/issues/153
skip_if_quarto("1.5")
expect_snapshot(
error = TRUE,
quarto_create_project()
Expand All @@ -12,6 +16,10 @@ test_that("Create a quarto project", {

test_that("Create a quarto project in another directory", {
skip_if_no_quarto("1.4")
# TODO: Fix the test once issue solve upstream
# - https://github.com/quarto-dev/quarto-cli/issues/8809
# - https://github.com/quarto-dev/quarto-r/issues/153
skip_if_quarto("1.5")
tempdir <- withr::local_tempdir()
curr_wd <- getwd()
expect_no_error(quarto_create_project(name = "test-project", dir = tempdir, quiet = TRUE))
Expand Down

0 comments on commit 9c04665

Please sign in to comment.