Skip to content
Discussion options

You must be logged in to vote

I actually don't believe we had the need to mock something in our languages yet. So no general recommendations. However, what I would probably do is add my to-be-mocked services to the dependency injection module context. See this, that we use for Langium by default. That way you could decide what and how to mock on the caller side instead of needing to build multiple different modules.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ballcoach12
Comment options

@msujew
Comment options

Answer selected by ballcoach12
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