})
it('Should have the views updated', async function () {
- this.timeout(10000)
+ this.timeout(20000)
await viewVideo(server.url, videoId)
await viewVideo(server.url, videoId)
await viewVideo(server.url, videoId)
await viewVideo(server.url, videoId)
+ // Wait the repeatable job
+ await wait(8000)
+
const res = await getVideo(server.url, videoId)
const video = res.body