Skip to content

Commit

Permalink
set up shinytest2
Browse files Browse the repository at this point in the history
  • Loading branch information
d-callan committed Dec 10, 2023
1 parent 2f80d00 commit 16b65ae
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
^LICENSE\.md$
^\.github$
_\.new\.png$
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.Rhistory
# {shinytest2}: Ignore new debug snapshots for `$expect_values()`
*_.new.png
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ Collate:
'unipartiteNetwork.R'
'ui.R'
Suggests:
shinytest2,
testthat (>= 3.0.0)
Config/testthat/edition: 3
2 changes: 2 additions & 0 deletions tests/testthat/setup-shinytest2.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Load application support files into testing environment
shinytest2::load_app_env()

0 comments on commit 16b65ae

Please sign in to comment.