tests: serve portfolio.status play fixture carries the public store page (200)
This commit is contained in:
parent
88a37e4735
commit
f69c10d3a0
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ describe('serve --stdio: session', () => {
|
|||
const { call, sent } = await session(argv => argv[0] === 'inspect' ? { data: summary }
|
||||
: argv[0] === 'check' ? { data: { ok: true, problems: [], warnings: ['w'] } }
|
||||
: argv[0] === 'apple' ? { code: 1, out: 'error: ASC_KEY_ID and ASC_ISSUER_ID are not set' }
|
||||
: argv[0] === 'play' ? { data: { tracks: [{ track: 'production', releases: [{ name: '1.2.0 (12)', versionCodes: ['12'], status: 'completed' }] }, { track: 'beta', releases: [{ name: '1.3.0', versionCodes: ['13'], status: 'completed' }] }], products: [{ productId: 'coins' }] } } : {});
|
||||
: argv[0] === 'play' ? { data: { tracks: [{ track: 'production', releases: [{ name: '1.2.0 (12)', versionCodes: ['12'], status: 'completed' }] }, { track: 'beta', releases: [{ name: '1.3.0', versionCodes: ['13'], status: 'completed' }] }], products: [{ productId: 'coins' }], publicPage: { state: 'public' } } } : {});
|
||||
const r = resOf(await call('portfolio.status', { projects: [DEMO, '/nope/game'], live: true })) as { apps: J[] };
|
||||
expect(r.apps[0]).toMatchObject({ project: DEMO, app: { id: DEMO, name: 'Demo', platforms: { ios: { bundleId: 'com.example.demo' }, android: { packageName: 'com.example.demo' } } },
|
||||
check: { ok: true, warnings: ['w'] }, storeErrors: { ios: 'ASC_KEY_ID and ASC_ISSUER_ID are not set' }, ok: false });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue