public NancyAdapterModuleMetricsTests() { _config = new MetricsConfig(_context); _browser = new Browser(with => { with.ApplicationStartup((c, p) => { _config.WithNancy(p); with.Module(new TestModule(_context.Clock)); }); }); }
public NancyAdapterGlobalMetrics() { _config = new MetricsConfig(_context); _browser = new Browser(with => { with.ApplicationStartup((c, p) => { _config.WithNancy(p); }); with.Module(new TestModule(_context.Clock)); with.Module(new ActiveRequestsModule(_requestTrigger.Task, _result1, _result2)); }); }