[mirotalksfu] - fix prettier lint
هذا الالتزام موجود في:
@@ -79,7 +79,7 @@ describe('test-OpenRedirect', function () {
|
||||
res.redirect
|
||||
.calledWith(
|
||||
301,
|
||||
'/join?room=test&roomPassword=0&name=mirotalksfu&audio=1&video=1&screen=0&hide=0¬ify=1&duration=00:00:30',
|
||||
'/join?room=test&roomPassword=0&name=mirotalksfu&audio=1&video=1&screen=0&hide=0¬ify=1&duration=00:00:30'
|
||||
)
|
||||
.should.be.true();
|
||||
});
|
||||
@@ -95,7 +95,7 @@ describe('test-OpenRedirect', function () {
|
||||
res.redirect
|
||||
.calledWith(
|
||||
301,
|
||||
'/join?room=test&roomPassword=0&name=mirotalksfu&audio=1&video=1&screen=0&hide=0¬ify=0&token=token',
|
||||
'/join?room=test&roomPassword=0&name=mirotalksfu&audio=1&video=1&screen=0&hide=0¬ify=0&token=token'
|
||||
)
|
||||
.should.be.true();
|
||||
});
|
||||
|
||||
@@ -186,7 +186,7 @@ describe('test-ServerAPI', () => {
|
||||
|
||||
const result = serverApi.getJoinURL(data);
|
||||
result.should.equal(
|
||||
'https://example.com/join?room=room1&roomPassword=password123&name=John%20Doe&avatar=test.jpg&audio=true&video=false&screen=false&hide=false¬ify=false&duration=00:30:00&token=testToken',
|
||||
'https://example.com/join?room=room1&roomPassword=password123&name=John%20Doe&avatar=test.jpg&audio=true&video=false&screen=false&hide=false¬ify=false&duration=00:30:00&token=testToken'
|
||||
);
|
||||
|
||||
tokenStub.restore();
|
||||
@@ -204,7 +204,7 @@ describe('test-ServerAPI', () => {
|
||||
|
||||
const result = serverApi.getJoinURL({});
|
||||
result.should.equal(
|
||||
'https://example.com/join?room=room1&roomPassword=false&name=User-123456&avatar=false&audio=false&video=false&screen=false&hide=false¬ify=false&duration=unlimited',
|
||||
'https://example.com/join?room=room1&roomPassword=false&name=User-123456&avatar=false&audio=false&video=false&screen=false&hide=false¬ify=false&duration=unlimited'
|
||||
);
|
||||
});
|
||||
});
|
||||
@@ -224,7 +224,7 @@ describe('test-ServerAPI', () => {
|
||||
encryptStub
|
||||
.calledWith(
|
||||
JSON.stringify({ username: 'user', password: 'pass', presenter: 'true' }),
|
||||
'mirotalksfu_jwt_secret',
|
||||
'mirotalksfu_jwt_secret'
|
||||
)
|
||||
.should.be.true();
|
||||
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم