FG_test_mksession: Populate Session Data for Module Testing

View source: R/FG_Server.R

FG_test_mksessionR Documentation

Populate Session Data for Module Testing

Description

Populates the supplied session variable for testing.

Usage

FG_test_mksession(session = list(), full = FALSE)

Arguments

session

Shiny session variable (in app) or a list (outside of app) session = shiny::MockShinySession$new().

full

Boolean indicating if the full test session should be created.

Value

The FG portion of the 'all_sess_res' returned from FM_app_preload

See Also

FM_app_preload

Examples

session = shiny::MockShinySession$new()
sess_res = FG_test_mksession(session=session)

formods documentation built on April 12, 2025, 1:57 a.m.