Skip to content
New issue

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

Add unit test for subscription #41

Open
gojanpaolo opened this issue Jan 17, 2021 · 2 comments
Open

Add unit test for subscription #41

gojanpaolo opened this issue Jan 17, 2021 · 2 comments

Comments

@gojanpaolo
Copy link
Contributor

gojanpaolo commented Jan 17, 2021

I'm currently trying to figure out how to add a unit test for subscription. :)

References:
https://github.com/ChilliCream/graphql-workshop/blob/master/docs/8-testing-the-graphql-server.md
https://chillicream.com/docs/hotchocolate/api-reference/aspnetcore#subscription-session-handling

@gojanpaolo
Copy link
Contributor Author

I still can't figure it out. 😢 Will work on something else in the meantime.

@gojanpaolo
Copy link
Contributor Author

https://github.com/ChilliCream/hotchocolate/blob/10.4.2/src/Core/Types.Tests/Types/SubscriptionTypeTests.cs#L359
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant