mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +09:00
chore: fix and lint
This commit is contained in:
parent
10ea0c16a1
commit
3981dc4bd1
@ -127,8 +127,8 @@ const $meta: Provider = {
|
||||
switch (type) {
|
||||
case 'metaUpdated': {
|
||||
Object.entries(body.after).forEach(([key, value]) => {
|
||||
(meta as any)[key] = value
|
||||
})
|
||||
(meta as any)[key] = value;
|
||||
});
|
||||
meta.proxyAccount = null; // joinなカラムは通常取ってこないので
|
||||
break;
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ describe('MkUrlPreview', () => {
|
||||
url: 'https://example.local/player',
|
||||
width: null,
|
||||
height: null,
|
||||
allow: undefined as unknown as string[],
|
||||
allow: [],
|
||||
},
|
||||
});
|
||||
const buttons = mkUrlPreview.getAllByRole('button');
|
||||
@ -123,7 +123,7 @@ describe('MkUrlPreview', () => {
|
||||
url: 'https://example.local/player',
|
||||
width: null,
|
||||
height: null,
|
||||
allow: [],
|
||||
allow: undefined as unknown as string[],
|
||||
},
|
||||
});
|
||||
assert.exists(iframe, 'iframe should exist');
|
||||
|
Loading…
Reference in New Issue
Block a user