Skip to content

Commit 3f60cc7

Browse files
committed
Avoid covr-ception
1 parent 2d634c3 commit 3f60cc7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/testthat/test-test.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ test_that("stop_on_failure defaults to FALSE", {
6161
})
6262

6363
test_that("test_coverage_active_file() computes coverage", {
64+
skip_on_covr()
6465
pkg <- local_package_create()
6566
writeLines(
6667
c(
@@ -90,6 +91,7 @@ test_that("test_coverage_active_file() computes coverage", {
9091
})
9192

9293
test_that("test_coverage_active_file() reports full coverage", {
94+
skip_on_covr()
9395
pkg <- local_package_create()
9496
writeLines(
9597
"add <- function(x, y) x + y",

0 commit comments

Comments
 (0)