Upgrade Prettier to 2.4.1

This commit is contained in:
Evan Hahn
2021-11-11 16:43:05 -06:00
committed by GitHub
parent f204784afe
commit 5619eeca83
176 changed files with 1961 additions and 2465 deletions

View File

@@ -350,8 +350,7 @@ describe('sgnlHref', () => {
['empty', ''],
['encoded', 'hello world'],
]),
hash:
'pack_id=baz&pack_key=Quux&num=123&empty=&encoded=hello%20world',
hash: 'pack_id=baz&pack_key=Quux&num=123&empty=&encoded=hello%20world',
}
);
});

View File

@@ -18,7 +18,7 @@ describe('toggleMaximizedBrowserWindow', () => {
browserWindow.isMaximized.returns(false);
// eslint-disable-next-line @typescript-eslint/no-explicit-any
toggleMaximizedBrowserWindow((browserWindow as any) as BrowserWindow);
toggleMaximizedBrowserWindow(browserWindow as any as BrowserWindow);
sinon.assert.calledOnce(browserWindow.maximize);
sinon.assert.notCalled(browserWindow.unmaximize);
@@ -29,7 +29,7 @@ describe('toggleMaximizedBrowserWindow', () => {
browserWindow.isMaximized.returns(true);
// eslint-disable-next-line @typescript-eslint/no-explicit-any
toggleMaximizedBrowserWindow((browserWindow as any) as BrowserWindow);
toggleMaximizedBrowserWindow(browserWindow as any as BrowserWindow);
sinon.assert.notCalled(browserWindow.maximize);
sinon.assert.calledOnce(browserWindow.unmaximize);