+ describe('Live hooks', function () {
+
+ it('Should run action:api.live-video.created', async function () {
+ const attributes = {
+ name: 'live',
+ privacy: VideoPrivacy.PUBLIC,
+ channelId: servers[0].videoChannel.id
+ }
+
+ await createLive(servers[0].url, servers[0].accessToken, attributes)
+
+ await checkHook('action:api.live-video.created')
+ })
+ })
+