path: '/accounts/peertube',
headers: buildAPHeader(),
expecter: (body, status) => {
- return status === 200 && body.startsWith('{"type":')
+ return status === 200 && body.startsWith('{"@context":')
}
},
{
path: '/videos/watch/' + video.uuid,
headers: buildAPHeader(),
expecter: (body, status) => {
- return status === 200 && body.startsWith('{"type":"Video"')
+ return status === 200 && body.startsWith('{"@context":')
}
},
{