You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
testthat's expect_snapshot() has a neat transform argument, which lets you run, well, transformations on values before they are submitted to comparison.
transform
Optionally, a function to scrub sensitive or stochastic text from the output. Should take a character vector of lines as input and return a modified character vector as output.
testthat's
expect_snapshot()
has a neattransform
argument, which lets you run, well, transformations on values before they are submitted to comparison.(source https://testthat.r-lib.org/reference/expect_snapshot.html?q=transform#ref-usage)
Would be nice if the relevant shinytest2 functions also supported this.
The text was updated successfully, but these errors were encountered: