Blazor wrapper around the Waffle Generator.
See Milestones for release notes.
Site is live at http://wafflegen.azurewebsites.net
Uses Fody PropertyChanged to implement INotifyPropertyChanged.
Uses TextCopy add content to the clipboard.
Uses bunit and Verify to perform snapshot testing.
public class Tests
{
[Fact]
public Task Component()
{
var services = new ServiceCollection();
services.AddSingleton<IJSRuntime>(new MockJSRuntime());
services.InjectMockClipboard();
using var provider = services.BuildServiceProvider();
var target = Render.Component<Index>(
provider,
template: new()
{
Waffle = "The Waffle",
Sha = "TheSha"
});
return Verify(target);
}
}