Answers for ""npm supertest"

0

"npm supertest

describe('GET /user', function() {  it('responds with json', function(done) {    request(app)      .get('/user')      .set('Accept', 'application/json')      .expect('Content-Type', /json/)      .expect(200, done);  });});
Posted by: Guest on May-02-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language