namespace ZB.MOM.WW.Theme.Tests;

public class ThemeHeadTests : TestContext
{
    [Fact]
    public void Emits_theme_and_layout_links_to_content_path()
    {
        var cut = RenderComponent<ThemeHead>();
        var hrefs = cut.FindAll("link").Select(l => l.GetAttribute("href")).ToList();
        Assert.Contains("_content/ZB.MOM.WW.Theme/css/theme.css", hrefs);
        Assert.Contains("_content/ZB.MOM.WW.Theme/css/layout.css", hrefs);
    }
}
