Nest.js & GraphQL E2E Testing

preview_player
Показать описание
Learn how to setup E2E tests the right way in NestJS to test your GraphQL server.

Support the Channel:

Connect with me:

Рекомендации по теме
Комментарии
Автор

I solved the path problem at the beginning of your video by creating an alias in tsconfig.json (compilerOptions.paths: { "@/*": ["src/*"]}) and writing all my imports as from '@/...' ; and I used pathsToModuleNameMapper in the jest configuration file to make jest aware of these aliases. It feels cleaner without all these '../../../ in my imports.

lionel
Автор

Thank you very much for the content! Your NestJS lectures are the best. I look forward to your new videos.

AGM
Автор

This is not working for code first approach with typeorm
It's says schema should be unique

ehmmhe
Автор

Great, Can you make a video to deploy GraphQL with Nestjs??

coodementor
Автор

What if I'm creating an e2e test file, let's say for a UserResolver only, not for the whole app. Can we do that without importing the whole AppModule? It may have performance impact importing the whole AppModule for test a single resolver, not sure if that's possible though since the GraphQL module is part of the AppModule.

andersondossantoscruz
Автор

Hey man, you said you will leave a link for restapi testing video in description but I can’t see it

vitaliipolushkin