We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is the feature request related to a problem? Please elaborate.
protected override void OnInitialized() { _isInteractive = RendererInfo.IsInteractive; }
unit test
public void Layout_OK() { var cut = Context.RenderComponent<Layout>(); Assert.Contains("Footer", cut.Markup); }
test run failed
Message: System.InvalidOperationException : No renderer has been initialized. Stack Trace: RenderHandle.get_RendererInfo() ComponentBase.get_RendererInfo() Layout.OnInitialized() line 342 ComponentBase.RunInitAndSetParametersAsync() TestRenderer.AssertNoUnhandledExceptions() TestRenderer.Render[TResult](RenderFragment renderFragment, Func`2 activator) TestRenderer.RenderFragment(RenderFragment renderFragment) TestContextBaseRenderExtensions.RenderInsideRenderTree(TestContextBase testContext, RenderFragment renderFragment) TestContextBaseRenderExtensions.RenderInsideRenderTree[TComponent](TestContextBase testContext, RenderFragment renderFragment) TestContext.Render[TComponent](RenderFragment renderFragment) TestContext.RenderComponent[TComponent](Action`1 parameterBuilder) LayoutTest.ShowFooter_OK() line 19 RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
The suggested solution
Describe any alternative solutions
Additional context
The text was updated successfully, but these errors were encountered:
link #1596
Sorry, something went wrong.
No branches or pull requests
Is the feature request related to a problem? Please elaborate.
Layout component
unit test
test run failed
The suggested solution
Describe any alternative solutions
Additional context
The text was updated successfully, but these errors were encountered: