mirror of
https://github.com/SableClient/Sable.git
synced 2026-12-05 00:02:22 -08:00
formatting
This commit is contained in:
1 parent
0cb4fbcb3d
commit
8c61ff1498
2 files changed
+4
-4
No files matched your search
@@ -15,7 +15,9 @@ describe('incoming image renderer', () => {
|
||||
|
||||
render(
|
||||
<MImage
|
||||
content={{ body: 'remote image', url: 'https://attacker.example/image.png' } as IImageContent}
|
||||
content={
|
||||
{ body: 'remote image', url: 'https://attacker.example/image.png' } as IImageContent
|
||||
}
|
||||
renderImageContent={renderImageContent}
|
||||
/>
|
||||
);
|
||||
|
||||
@@ -11,9 +11,7 @@ describe('getKlipyMxcUrl', () => {
|
||||
});
|
||||
|
||||
it('allows an existing MXC favorite without a proxy', () => {
|
||||
expect(getSendableKlipyMxcUrl('mxc://example.org/existing')).toBe(
|
||||
'mxc://example.org/existing'
|
||||
);
|
||||
expect(getSendableKlipyMxcUrl('mxc://example.org/existing')).toBe('mxc://example.org/existing');
|
||||
});
|
||||
|
||||
it('creates an MXC URL when a proxy is configured', () => {
|
||||
|
||||
Reference in new issue
Block a user