Supertest Express Check Response
test( "GET /", async () => {
const response = await supertest( require("./app.js") ).get( "/" );
expect( response.statusCode ).toBe( 200 );
expect( response.status ).toEqual( 200 );
});
KostasX