DEV Community

Discussion on: Testing NodeJs/Express API with Jest and Supertest

Collapse
 
devorji profile image
Chigbogu Orji

I tried using jest after I first read your article, but as I changed from Windows7 to Windows10 after Microsoft stopped its update(windows7); my jest test ain't working anymore.

I got the error app.address is not a function
What could be the cause, am using yarn as my package manager.

I have being using mocha and chai for my tests and it works, none works these days
Thanks in anticipation.

Collapse
 
nedsoft profile image
Chinedu Orie

Could you check if the discussion in this thread helps