| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/snapshot.R |
| 3 |
\name{snapshotPreprocessOutput} |
| 4 |
\alias{snapshotPreprocessOutput} |
| 5 |
\title{Add a function for preprocessing an output before taking a test snapshot} |
| 6 |
\usage{ |
| 7 |
snapshotPreprocessOutput(x, fun) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{x}{A reactive which will be assigned to an output.} |
| 11 |
|
| 12 |
\item{fun}{A function that takes the output value as an input and returns a |
| 13 |
modified value. The returned value will be used for the test snapshot.} |
| 14 |
} |
| 15 |
\description{ |
| 16 |
Add a function for preprocessing an output before taking a test snapshot |
| 17 |
} |