neutral names in docs, tests and comments (no real app or project names)
This commit is contained in:
parent
cba4660777
commit
6443a5c442
7 changed files with 28 additions and 28 deletions
|
|
@ -126,9 +126,9 @@ describe('the installed app', () => {
|
|||
expect(findInstalled('linux', {}, at([]), '/home/you', () => ['storeboundish.AppImage'])).toBeNull();
|
||||
});
|
||||
test('opened with the folder as a deep link, never through a shell', () => {
|
||||
const link = openFolderLink('/Users/you/games/Demo App & co');
|
||||
expect(link).toBe('storebound://open?path=%2FUsers%2Fyou%2Fgames%2FDemo App%20%26%20co');
|
||||
expect(new URL(link).searchParams.get('path')).toBe('/Users/you/games/Demo App & co');
|
||||
const link = openFolderLink('/Users/you/games/demo-app & co');
|
||||
expect(link).toBe('storebound://open?path=%2FUsers%2Fyou%2Fgames%2Fdemo-app%20%26%20co');
|
||||
expect(new URL(link).searchParams.get('path')).toBe('/Users/you/games/demo-app & co');
|
||||
expect(openCommand('darwin', { path: '/Applications/storebound.app', how: 'bundle' }, link)).toEqual(['open', '-b', 'dev.storebound.desktop', link]);
|
||||
expect(openCommand('darwin', { path: '/Applications/storebound.app', how: 'bundle' }, null)).toEqual(['open', '-b', 'dev.storebound.desktop']);
|
||||
expect(openCommand('win32', { path: 'C:\\x\\storebound-desktop.exe', how: 'exe' }, link)).toEqual(['C:\\x\\storebound-desktop.exe', link]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue