ship step: apple build plan keeps its version and build in --json; test fixtures pass the scrub (documentation IPs, neutral home paths, 10-char key ids)
This commit is contained in:
parent
6abc1f65dd
commit
960e084bea
3 changed files with 11 additions and 11 deletions
|
|
@ -22,10 +22,10 @@ describe('apps relink', () => {
|
|||
expect(found.sort()).toEqual([game, front, renamed].sort());
|
||||
expect(configAppName(front)).toBe('Studio');
|
||||
const r = { version: 1 as const, projects: [
|
||||
{ id: 'a', path: '/Users/old/Desktop/game-one', name: 'Game One', added: '' },
|
||||
{ id: 'b', path: '/Users/old/Work/Studio/frontend', name: 'frontend', added: '' },
|
||||
{ id: 'c', path: '/Users/old/Work/OldName/app', name: 'Old App', added: '' },
|
||||
{ id: 'd', path: '/Users/old/gone', name: 'Gone', added: '' },
|
||||
{ id: 'a', path: '/Users/name/Desktop/game-one', name: 'Game One', added: '' },
|
||||
{ id: 'b', path: '/Users/name/Work/Studio/frontend', name: 'frontend', added: '' },
|
||||
{ id: 'c', path: '/Users/name/Work/OldName/app', name: 'Old App', added: '' },
|
||||
{ id: 'd', path: '/Users/name/gone', name: 'Gone', added: '' },
|
||||
] };
|
||||
const plan = relinkPlan(r, found, () => false, configAppName);
|
||||
expect(plan.map(p => [p.id, p.to])).toEqual([['a', game], ['b', front], ['c', renamed]]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue