diff options
author | Chocobozzz <me@florianbigard.com> | 2022-04-22 10:54:05 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-04-22 10:54:05 +0200 |
commit | 5d9b867ed30cbd40025d9c1223caff43c3cd0d82 (patch) | |
tree | a767981ff97eb476ce323309cc7ecb57545385e2 /server/tests/api/live | |
parent | 961cbe4269e5f34639e29310fb3d90a6cb1bd6bc (diff) | |
download | PeerTube-5d9b867ed30cbd40025d9c1223caff43c3cd0d82.tar.gz PeerTube-5d9b867ed30cbd40025d9c1223caff43c3cd0d82.tar.zst PeerTube-5d9b867ed30cbd40025d9c1223caff43c3cd0d82.zip |
Fix lint
Diffstat (limited to 'server/tests/api/live')
-rw-r--r-- | server/tests/api/live/live.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts index 6e7b77bce..b8c4c1e29 100644 --- a/server/tests/api/live/live.ts +++ b/server/tests/api/live/live.ts | |||
@@ -131,8 +131,8 @@ describe('Test live', function () { | |||
131 | expect(live.rtmpUrl).to.equal('rtmp://' + server.hostname + ':' + servers[0].rtmpPort + '/live') | 131 | expect(live.rtmpUrl).to.equal('rtmp://' + server.hostname + ':' + servers[0].rtmpPort + '/live') |
132 | expect(live.streamKey).to.not.be.empty | 132 | expect(live.streamKey).to.not.be.empty |
133 | } else { | 133 | } else { |
134 | expect(live.rtmpUrl).to.be.null | 134 | expect(live.rtmpUrl).to.not.exist |
135 | expect(live.streamKey).to.be.null | 135 | expect(live.streamKey).to.not.exist |
136 | } | 136 | } |
137 | 137 | ||
138 | expect(live.saveReplay).to.be.true | 138 | expect(live.saveReplay).to.be.true |
@@ -193,8 +193,8 @@ describe('Test live', function () { | |||
193 | expect(live.rtmpUrl).to.equal('rtmp://' + server.hostname + ':' + servers[0].rtmpPort + '/live') | 193 | expect(live.rtmpUrl).to.equal('rtmp://' + server.hostname + ':' + servers[0].rtmpPort + '/live') |
194 | expect(live.streamKey).to.not.be.empty | 194 | expect(live.streamKey).to.not.be.empty |
195 | } else { | 195 | } else { |
196 | expect(live.rtmpUrl).to.be.null | 196 | expect(live.rtmpUrl).to.not.exist |
197 | expect(live.streamKey).to.be.null | 197 | expect(live.streamKey).to.not.exist |
198 | } | 198 | } |
199 | 199 | ||
200 | expect(live.saveReplay).to.be.false | 200 | expect(live.saveReplay).to.be.false |