Chore: Desktop: Fix tests in IPC pull request (#12004)

This commit is contained in:
Henry Heino authored and GitHub committed 2025-03-25 18:50:16 +01:00
1 parent 93219575b4
commit 0959a19d65
4 files changed
+25 -4

No files matched your search

+6
View File
@@ -188,6 +188,12 @@ const processStartFlags = async (argv: string[], setDefaults = true) => {
continue;
}
if (arg === '--running-tests') {
// Used by the desktop app to indicate that the app is running end-to-end tests.
argv.splice(0, 1);
continue;
}
if (arg.length && arg[0] === '-') {
throw new JoplinError(_('Unknown flag: %s', arg), 'flagError');
} else {