Hi,
Thanks you for this amazing library!
I’m currently setting up integration testing with the official guide => Integration testing - Apollo GraphQL Docs
And it says that you should use executeOperation, it works very well until I try to pass http headers like this
server.executeOperation({
query: MY_QUERY
http: { headers: {'Authorization': `Bearer ${token}`} },})
Typescript error : Type ‘{ Authorization: string; }’ is not assignable to type ‘Headers’.
And it also doesn’t work when running it.
So I was wondering how does it work?
Cheers