mirror of
https://github.com/monoscope-tech/monoscope.git
synced 2026-11-16 10:18:01 +00:00
Simplified test code by:
- Replacing verbose toServantResponse pattern with concise testServant helper
- Changed test lambdas from \tr@TestResources{..} to \tr for cleaner syntax
- Updated field access to use dot notation (tr.trPool, tr.trATCtx, etc.)
This reduces boilerplate and improves test readability across all integration
test suites while maintaining the same functionality.
Affected test suites:
- Pages (ApiSpec, LogExplorer, Anomalies, Projects, Endpoints, Reports,
Monitors, BusinessFlows, Share)
- MonitoringSpec
- ProcessMessageSpec
44 lines
1.8 KiB
44 lines
1.8 KiB