const categories = res.body
expect(Object.keys(categories)).to.have.length.above(10)
- expect(categories[11]).to.equal('News')
+ expect(categories[11]).to.equal('News & Politics')
})
it('Should list video licences', async function () {
const videoHttp: VideoDetails = resHttp.body
expect(videoHttp.name).to.equal('small video - youtube')
- expect(videoHttp.category.label).to.equal('News')
+ expect(videoHttp.category.label).to.equal('News & Politics')
expect(videoHttp.licence.label).to.equal('Attribution')
expect(videoHttp.language.label).to.equal('Unknown')
expect(videoHttp.nsfw).to.be.false