* Type for the shared mock StreamlitConfig state used in tests. * This allows tests to control StreamlitConfig values.
| 26 | * This allows tests to control StreamlitConfig values. |
| 27 | */ |
| 28 | interface MockStreamlitConfigState { |
| 29 | BACKEND_BASE_URL?: string |
| 30 | HOST_CONFIG_BASE_URL?: string |
| 31 | DOWNLOAD_ASSETS_BASE_URL?: string |
| 32 | MAIN_PAGE_BASE_URL?: string |
| 33 | CUSTOM_COMPONENT_CLIENT_ID?: string |
| 34 | LIGHT_THEME?: unknown |
| 35 | DARK_THEME?: unknown |
| 36 | ENABLE_RELOAD_BASED_ON_HARDCODED_STREAMLIT_VERSION?: boolean |
| 37 | HOST_CONFIG?: HostWindowConfig |
| 38 | } |
| 39 | |
| 40 | declare global { |
| 41 | var __mockStreamlitConfig: MockStreamlitConfigState |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…