Get my highly-rated Udemy courses at a discount here: michaelguay.dev/udemy/
@ferm04792 жыл бұрын
2 SUGGESTIONS: 1. `supertest-graphql` dependency should be in dev dependencies . 2. Make sure to install `tsconfig-paths` as dev dependency this gets added a bug with Jest that is not able to resolve modules from moduleMapper, and import as following in your `teardown.ts` and `setup.ts` on first line for hoisting issues, import 'tsconfig-paths/register' Besides that Good work :).
@ferm04792 жыл бұрын
Also another suggestion will be is to return the headers property directly from the integrationTestManager such as getAuthorizationToken() {return {Authorization: `Bearer ${this.accessToken}`}}.
@prometheas2 жыл бұрын
Appreciate how much care you put into making the information as accessible and easy to digest as possible. Great work!
@kirakira1602 жыл бұрын
Yes Sir !! We miss your gold videos Sir!❤ keep going please !💪
@nishanthakumara84722 жыл бұрын
Thanks Michael. Please release the videos in a short time of period at least twice a week
@dawid_dahl Жыл бұрын
Thank you so much for making this video.
@riccardoaccomando90892 жыл бұрын
Awesome! Could you please make a video on graphql-ws with authentication over cookies? In one of my project i struggled a bit in the authentication step, beacuse subscriptions-transport-ws is currently deprecated.
@MuhammadIlyas-dr7eg3 ай бұрын
Hey Michae, I have one question here. Is this end to end test or integration? As per video title it is integration test but how end to end would be different these integration test?
@nishus_vlog2 жыл бұрын
Thanks Michael
@DawidDahl Жыл бұрын
I don't understand how this is working for you. When I try to run the code from setup.ts in my globalSetup jest-e2e.json file, I get this error. " Jest: Got error running globalSetup - /Users/dawiddahl/Projects/POC/poc-erp-adapter/src/integration-test/setup.ts, reason: Cannot find module 'src/private/error/error.module'" which is understandable, because at that stage the AppModule I am trying to import has not yet been initialized. Do you have any idea why this is working for you but not for me?
@AbiodunSam10 ай бұрын
I'm confused somehow about the what test was done here. I suppose integration test doesn't need to call the endpoint by using httpserver while it's not e2e? It thought it's in e2e that that should be done.
@essawy8979 ай бұрын
same, I think what he is doing is e2e testing.
@MuhammadIlyas-dr7eg3 ай бұрын
Exactly he is doing e2e testing here.
@michoe242 жыл бұрын
Nice!
@mguay2 жыл бұрын
Thank you so much sir.
@obinnaezedei85610 ай бұрын
How you keep abstracting virtually everything kind of gets me confused and makes it hard for me to follow up