mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Enforce stronger types for ArrayBuffers and storage
This commit is contained in:
@@ -18,7 +18,7 @@ describe('RetryPlaceholders', () => {
|
||||
let clock: any;
|
||||
|
||||
beforeEach(() => {
|
||||
window.storage.put(STORAGE_KEY, null);
|
||||
window.storage.put(STORAGE_KEY, undefined as any);
|
||||
|
||||
clock = sinon.useFakeTimers({
|
||||
now: NOW,
|
||||
@@ -55,7 +55,7 @@ describe('RetryPlaceholders', () => {
|
||||
window.storage.put(STORAGE_KEY, [
|
||||
{ item: 'is wrong shape!' },
|
||||
{ bad: 'is not good!' },
|
||||
]);
|
||||
] as any);
|
||||
|
||||
const placeholders = new RetryPlaceholders();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user