I'm trying to add the Bearer in the header section in POST request while testing with Supertest. I tried many methods. I'm a beginner in testing. Please suggest
I'm creating a testing for my express app. The project has multiple test files. In each module the server instance is required at beforeEach() method and closed