Hello everyone 👋🏻
Note: E2E tests.
When I use globalSetup of Jest with GraphQL I always get this error:
Cannot determine a GraphQL output type for the "listCode". Make sure your class is decorated with an appropriate decorator.
or something similar to it.
Note that this error happens AFTER globalSetup finishes, particularly when I call app.init() in the tests.
If I remove globalSetup code works normally.
Ironically if I have globalTeardown only, no errors happen... I'm really confused 😫
Thanks in advance,
Second time posting something here... not a good week 🤦🏻♂️