1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

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

This commit is contained in:
Henry Heino
2025-03-25 10:50:16 -07:00
committed by GitHub
parent 93219575b4
commit 0959a19d65
4 changed files with 25 additions and 4 deletions

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 {