wabbajack/Wabbajack.Downloaders.Dispatcher.Test/Startup.cs
2021-09-27 06:42:46 -06:00

21 lines
639 B
C#

using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Wabbajack.Services.OSIntegrated;
using Xunit.DependencyInjection;
using Xunit.DependencyInjection.Logging;
namespace Wabbajack.Downloaders.Dispatcher.Test
{
public class Startup
{
public void ConfigureServices(IServiceCollection service)
{
service.AddOSIntegrated();
}
public void Configure(ILoggerFactory loggerFactory, ITestOutputHelperAccessor accessor)
{
loggerFactory.AddProvider(new XunitTestOutputLoggerProvider(accessor, delegate { return true; }));
}
}
}