mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 15:45:39 +01:00
Enable tsconfig noUncheckedIndexedAccess
This commit is contained in:
@@ -64,10 +64,12 @@ describe('getFontNameByTextScript', () => {
|
||||
const text = 'abc';
|
||||
|
||||
assert.throws(() => {
|
||||
// @ts-expect-error invalid text style
|
||||
getFontNameByTextScript(text, -1);
|
||||
});
|
||||
|
||||
assert.throws(() => {
|
||||
// @ts-expect-error invalid text style
|
||||
getFontNameByTextScript(text, 99);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user