Upgrade Prettier to 2.4.1
This commit is contained in:
@@ -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',
|
||||
}
|
||||
);
|
||||
});
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user