Correct all tsc errors

This commit is contained in:
49lf
2024-12-05 16:37:56 -05:00
parent c2500c39e6
commit 68bcee9298
29 changed files with 1433 additions and 1255 deletions

View File

@ -1245,7 +1245,7 @@ test(
.locator('section#projectDirectory input')
.inputValue()
const handleFile = electronApp.evaluate(
const handleFile = electronApp?.evaluate(
async ({ dialog }, filePaths) => {
dialog.showOpenDialog = () =>
Promise.resolve({ canceled: false, filePaths })
@ -1275,7 +1275,7 @@ test(
await page.getByTestId('project-directory-settings-link').click()
const handleFile = electronApp.evaluate(
const handleFile = electronApp?.evaluate(
async ({ dialog }, filePaths) => {
dialog.showOpenDialog = () =>
Promise.resolve({ canceled: false, filePaths })