[mirotalksfu] - fix prettier lint

هذا الالتزام موجود في:
Miroslav Pejic
2025-05-31 12:12:25 +02:00
الأصل 35bc491ce3
التزام f6ccacf922
18 ملفات معدلة مع 142 إضافات و142 حذوفات

عرض الملف

@@ -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&notify=1&duration=00:00:30',
'/join?room=test&roomPassword=0&name=mirotalksfu&audio=1&video=1&screen=0&hide=0&notify=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&notify=0&token=token',
'/join?room=test&roomPassword=0&name=mirotalksfu&audio=1&video=1&screen=0&hide=0&notify=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&notify=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&notify=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&notify=false&duration=unlimited',
'https://example.com/join?room=room1&roomPassword=false&name=User-123456&avatar=false&audio=false&video=false&screen=false&hide=false&notify=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();