Jest testing environment is need to be configuren in nodejs project.
The project is webserver which answers the requests.
Server is runned as standalone app.
Tests must do requests to server.
The tests itself must run server in same instance to proper coverage recognizing.
Test specs must be looks like:
[login to view URL](3000)
it('test', ()=>{
fetch('/:3000')
})
Hi. I didn't understand fully your request. Are you looking to configure the testing environment only? Which server framework are you using Express, Hapi, Koa ....etc?
I look forward to hearing from you.
Regards.
Hello! I'm an experienced full stack developer with great knowledge of NodeJs and unit testing with Jest framework.
I believe I'm the perfect candidate for your work due to my current expertise in the software development using Node, Express and MongoDB.
Hope to hear from you soon.
Regards.