Add a function for preprocessing an input before taking a test snapshot
snapshotPreprocessInput(inputId, fun,
session = getDefaultReactiveDomain())
Name of the input value.
A function that takes the input value and returns a modified value. The returned value will be used for the test snapshot.
A Shiny session object.