This repository has been archived on 2023-02-02. You can view files and clone it, but cannot push or open issues or pull requests.
mfgames-nitride-cil/tests/MfGames.Nitride.Markdown.Tests/MarkdownTestContext.cs
D. Moonfire 982e3b38c3
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline failed
feat(markdown): implemented expanding single link list items
2022-12-24 00:38:24 -06:00

22 lines
568 B
C#

using Autofac;
using MfGames.Nitride.Markdown;
using MfGames.Nitride.Tests;
namespace MfGames.Nitride.Slugs.Tests;
public class MarkdownTestContext : NitrideTestContext
{
/// <inheritdoc />
protected override void ConfigureContainer(ContainerBuilder builder)
{
base.ConfigureContainer(builder);
builder.RegisterModule<NitrideSlugsModule>();
builder.RegisterModule<NitrideMarkdownModule>();
builder
.RegisterType<SimpleSlugConverter>()
.As<ISlugConverter>()
.SingleInstance();
}
}