| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/snapshot.R |
| 3 |
\name{snapshotPreprocessInput} |
| 4 |
\alias{snapshotPreprocessInput} |
| 5 |
\title{Add a function for preprocessing an input before taking a test snapshot} |
| 6 |
\usage{ |
| 7 |
snapshotPreprocessInput(inputId, fun, session = getDefaultReactiveDomain()) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{inputId}{Name of the input value.} |
| 11 |
|
| 12 |
\item{fun}{A function that takes the input value and returns a modified |
| 13 |
value. The returned value will be used for the test snapshot.} |
| 14 |
|
| 15 |
\item{session}{A Shiny session object.} |
| 16 |
} |
| 17 |
\description{ |
| 18 |
Add a function for preprocessing an input before taking a test snapshot |
| 19 |
} |