Skip to content

Commit

Permalink
Merge branch 'dev_next' into feature/box_universal_import_linter
Browse files Browse the repository at this point in the history
  • Loading branch information
radbasa committed Jan 12, 2024
2 parents 628fae5 + 321e6ee commit 8fcfffd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions inst/templates/unit_tests/tests/testthat/test-main.R
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
box::use(
shiny[testServer],
testthat[...],
testthat[expect_true, test_that],
)
box::use(
app/main[...],
app/main[server, ui],
)

test_that("main server works", {
Expand Down
18 changes: 9 additions & 9 deletions tests/e2e/app-files/hello.R
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
box::use(
shiny[
bootstrapPage,
NS,
tags,
textInput,
actionButton,
observeEvent,
textOutput,
bootstrapPage,
isolate,
moduleServer,
NS,
observe,
observeEvent,
renderText,
isolate
]
tags,
textInput,
textOutput
],
)

box::use(app / logic / say_hello[say_hello])
box::use(app/logic/say_hello[say_hello])

#' @export
ui <- function(id) {
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/app-files/main.R
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
box::use(
rhino[log, react_component],
shiny,
rhino[log, react_component]
)

box::use(app / view / hello)
box::use(app/view/hello)

Box <- react_component("Box") # nolint object_name_linter

Expand Down

0 comments on commit 8fcfffd

Please sign in to comment.