mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-24 02:51:17 -08:00
formatting
This commit is contained in:
1 parent
ecca522045
commit
4a60291c25
1 file changed
+3
-1
@@ -156,7 +156,9 @@ describe('DesktopUpdater', () => {
|
||||
|
||||
it('retries when downloadAndInstall fails', async () => {
|
||||
const update = makeUpdate('4.0.0');
|
||||
update.downloadAndInstall.mockRejectedValueOnce(new Error('eacces')).mockResolvedValueOnce(undefined);
|
||||
update.downloadAndInstall
|
||||
.mockRejectedValueOnce(new Error('eacces'))
|
||||
.mockResolvedValueOnce(undefined);
|
||||
checkFn.mockResolvedValue(update);
|
||||
|
||||
render(
|
||||
|
||||
Reference in new issue
Block a user