auto-read after the rebase: results through usable / failureText, issuesError notice kept, scheduler 'accounts' (no credentials word in the webview), fixtures and generated tables for health_issue
This commit is contained in:
parent
0fb4ce0001
commit
7b05e4b396
8 changed files with 34 additions and 27 deletions
|
|
@ -238,7 +238,7 @@ describe('serve: store-only apps (virtual)', () => {
|
|||
const r = await s.call('reviews.list', { virtual: V, args: { days: 30 }, credentials: APPLE });
|
||||
expect(r.error).toBeUndefined();
|
||||
expect(existsSync(join(s.calls[0]!.o.cwd, 'storebound.config.json'))).toBe(true);
|
||||
expect([...VIRTUAL_READS].sort()).toEqual(['apple_ppo_status', 'apple_status', 'apple_testflight_status', 'health', 'play_status', 'reviews_list']);
|
||||
expect([...VIRTUAL_READS].sort()).toEqual(['apple_ppo_status', 'apple_status', 'apple_testflight_status', 'health', 'health_issue', 'play_status', 'reviews_list']);
|
||||
for (const m of ['play.listing', 'catalog.diff', 'project.listings', 'check', 'reviews.approve'])
|
||||
expect((await s.call(m, { virtual: V, args: m === 'reviews.approve' ? { file: 'apple-1.md' } : {} })).error).toMatchObject({ code: ERR.invalidParams });
|
||||
expect((await s.call('health', { virtual: V, project: '/tmp' })).error).toMatchObject({ code: ERR.invalidParams });
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ describe('health with no field data yet', () => {
|
|||
}) as typeof fetch;
|
||||
const h = await collectAppleHealth(mkdtempSync(join(tmpdir(), 'sb-real-')), 'com.example.cutter', '6400000401', 7);
|
||||
expect(h.metrics).toEqual([]);
|
||||
expect(h.signatures).toEqual([{ build: '10', type: 'HANGS', signature: 'main thread', weight: 0.4 }]);
|
||||
expect(h.signatures).toEqual([{ build: '10', type: 'HANGS', signature: 'main thread', weight: 0.4, id: 's1' }]);
|
||||
});
|
||||
test('other errors still make the store unreadable', async () => {
|
||||
ascKey();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue