chore: fix vue prettier rules (max-attributes-per-line), reformat all codes
This commit is contained in:
1 parent
f225b4e54a
commit
2fb64f03ec
17 files changed
+227
-90
No files matched your search
+11
-9
@@ -39,18 +39,20 @@ export const beforeAll = async () => {
|
||||
page.on('console', console.log)
|
||||
page.on('pageerror', console.log)
|
||||
|
||||
const evaluateResult = await appElectron.evaluate(async ({ app, BrowserWindow }) => {
|
||||
const currentWindow = BrowserWindow.getFocusedWindow()
|
||||
const evaluateResult = await appElectron.evaluate(
|
||||
async ({ app, BrowserWindow }) => {
|
||||
const currentWindow = BrowserWindow.getFocusedWindow()
|
||||
|
||||
// Fix window position for testing
|
||||
currentWindow.setPosition(50, 50)
|
||||
currentWindow.setSize(1080, 560)
|
||||
// Fix window position for testing
|
||||
currentWindow.setPosition(50, 50)
|
||||
currentWindow.setSize(1080, 560)
|
||||
|
||||
return {
|
||||
packaged: app.isPackaged,
|
||||
dataPath: app.getPath('userData')
|
||||
return {
|
||||
packaged: app.isPackaged,
|
||||
dataPath: app.getPath('userData')
|
||||
}
|
||||
}
|
||||
})
|
||||
)
|
||||
|
||||
base.expect(evaluateResult.packaged, 'app is not packaged').toBe(false)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user