Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

supertest expect content type


expect( response.headers['content-type'] ).toMatch( /json/ );
 
PREVIOUS NEXT
Tagged: #supertest #expect #content #type
ADD COMMENT
Topic
Name
1+7 =