You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-26 22:41:17 +02:00
This commit is contained in:
12
packages/lib/getAppName.test.ts
Normal file
12
packages/lib/getAppName.test.ts
Normal 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');
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user