Can any body explain me what is suite function do in test and this associated with which library or framework
Thank you in advance
suite('Functional Test',()=>{
test("#example Test GET /api/books " ,(done)=>{
chai.request(router)
.get('/api/books')
.end((error,res)=>{
assert.equal(res.status,200);
assert.isArray(res.body,"response should be an array");
assert.property(res.body[0],"comment","Books in array should contain comment which is counts of comments")
assert.property(res.body[0],"name","Books in array should contain name")
assert.property(res.body[0],"_id","Books in array should contain _id")
done();
});
});
});