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

Desktop: Resolves #11992: Multiple instances: Secure local server (#11999)

This commit is contained in:
Laurent Cozic
2025-03-25 19:48:11 +01:00
committed by GitHub
parent 0959a19d65
commit e3762dc3f8
11 changed files with 142 additions and 9 deletions

View File

@@ -0,0 +1,12 @@
import getAppName from './getAppName';
describe('getAppName', () => {
it('should get the app name', () => {
expect(getAppName(true, true)).toBe('joplindev-desktop');
expect(getAppName(true, false)).toBe('joplin-desktop');
expect(getAppName(false, false)).toBe('joplin');
expect(getAppName(false, true)).toBe('joplindev');
});
});