Newsbot.Collector/Newsbot.Collector.Tests/TestHelper.cs

14 lines
313 B
C#
Raw Permalink Normal View History

using System.Net.Sockets;
using Microsoft.Extensions.Configuration;
namespace Newsbot.Collector.Tests;
public static class TestHelper
{
public static IConfiguration LoadConfig()
{
return new ConfigurationBuilder()
.AddJsonFile("appsettings.json", false)
.Build();
}
}