ChilliCream / graphql-workshop

Getting started with GraphQL on ASP.NET Core and Hot Chocolate - Workshop
465 stars 199 forks source link

Add unit test for subscription #41

Open gojanpaolo opened 3 years ago

gojanpaolo commented 3 years ago

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 commented 3 years ago

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

gojanpaolo commented 3 years ago

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