mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-26 06:10:20 +01:00
chore: fix and lint
This commit is contained in:
parent
10ea0c16a1
commit
3981dc4bd1
2 changed files with 4 additions and 4 deletions
|
@ -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 a new issue