iPhone Duo: accept platform IPHONE_APP_STORE from appAssetLibraryRefData; a Duo failure warns, other sets continue
This commit is contained in:
parent
f6f9fc3c41
commit
b18d480d65
4 changed files with 9 additions and 5 deletions
|
|
@ -104,6 +104,7 @@ describe('iPhone Duo (foldable) sizes', () => {
|
|||
{ placementProfileGroupId: 'g-mac', platform: 'MAC_OS', displayClassId: 'IPHONE_DUO' }] } }];
|
||||
expect(duoGroups(ref)).toEqual(['g-duo']);
|
||||
expect(duoGroups([])).toEqual([]);
|
||||
expect(duoGroups([{ attributes: { placementProfileGroups: [{ placementProfileGroupId: 'IPHONE_DUO_PROFILE', platform: 'IPHONE_APP_STORE', displayClassId: 'IPHONE_DUO' }] } }])).toEqual(['IPHONE_DUO_PROFILE']);
|
||||
expect(duoUpToDate(['a', 'b'], ['a', 'b'])).toBe(true);
|
||||
expect(duoUpToDate(['b', 'a'], ['a', 'b'])).toBe(false);
|
||||
expect(duoUpToDate(['a', undefined], ['a', 'b'])).toBe(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue