Apollo server tests

Hi everyone ,

i want to test my apollo server 3 , i found package apollo-server-testing however they say that this package will not be distributed as part of Apollo Server 3. Any remplacement or ideas to do unit tests easily ?

Thanks for your answers

@Nadjib see this note from the Apollo Server 3 migration guide:

Apollo Server 2 contains a package apollo-server-testing . This package is a thin wrapper around the server.executeOperation method. As of Apollo Server 2.25.0, we no longer document this package and instead document using executeOperation directly.

For more details on how to use executeOperation directly, see: Integration testing - Apollo Server - Apollo GraphQL Docs