Skip to content

Cannot provide a value for property 'RteJsInterop' on type 'Blazorise.RichTextEdit.RichTextEdit'. There is no registered service of type 'Blazorise.RichTextEdit.RichTextEditJsInterop' #530

Answered by egil
drma-tech asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, thanks for reaching out. As this is not really a bUnit issue, I've converted this to a discussion QA.

The Blazorise folks use bUnit internally, so I would reach out to them for guidance on how to test components that use their RichTextEdit component.

What I would try before reaching out to them though is to try calling ctx.Services.AddBlazoriseRichTextEdit() and see if that is able to register the internal RteJsInterop.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by egil
Comment options

You must be logged in to vote
4 replies
@egil
Comment options

egil Oct 25, 2021
Maintainer

@drma-tech
Comment options

@egil
Comment options

egil Oct 25, 2021
Maintainer

@drma-tech
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #527 on October 23, 2021 15:35.