mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-10 07:28:01 -05:00
Reduce promises version to 1.1.0 and safeguard visibility test (#3252)
This commit is contained in:
@@ -85,7 +85,7 @@ Imports:
|
||||
R6 (>= 2.0),
|
||||
sourcetools,
|
||||
later (>= 1.0.0),
|
||||
promises (>= 1.1.1.9001),
|
||||
promises (>= 1.1.0),
|
||||
tools,
|
||||
crayon,
|
||||
rlang (>= 0.4.9),
|
||||
@@ -116,7 +116,6 @@ Suggests:
|
||||
sass
|
||||
Remotes:
|
||||
rstudio/htmltools,
|
||||
rstudio/promises,
|
||||
rstudio/sass,
|
||||
rstudio/bslib,
|
||||
rstudio/shinytest,
|
||||
|
||||
@@ -923,6 +923,9 @@ test_that("bindCache visibility", {
|
||||
|
||||
|
||||
test_that("bindCache reactive visibility - async", {
|
||||
# only test if promises handles visibility
|
||||
skip_if_not_installed("promises", "1.1.1.9001")
|
||||
|
||||
cache <- cachem::cache_mem()
|
||||
k <- reactiveVal(0)
|
||||
res <- NULL
|
||||
|
||||
@@ -27,6 +27,9 @@ test_that("hybrid_chain preserves visibility", {
|
||||
|
||||
|
||||
test_that("hybrid_chain preserves visibility - async", {
|
||||
# only test if promises handles visibility
|
||||
skip_if_not_installed("promises", "1.1.1.9001")
|
||||
|
||||
res <- NULL
|
||||
hybrid_chain(
|
||||
promise_resolve(1),
|
||||
|
||||
Reference in New Issue
Block a user