How to do integration test in apollo-server-express

I want to do an integration test in my /graphql server but the ones I see online doesn’t require starting apollo server before applying middlewares. Can anyone give an example on how to test my graphql endpoint with the new version?