refactor(api): validate shared product response contracts (CL25)

This commit is contained in:
Boki 2026-10-28 13:57:37 -04:00
parent e2292e4883
commit 366a6054bf
22 changed files with 989 additions and 451 deletions

View file

@ -699,7 +699,7 @@ describe('strategy workbench', () => {
autoStart: false,
});
expect((post.body as { config: object }).config).not.toHaveProperty('fastPeriod');
await flush(() => reply(post, definition));
await flush(() => reply(post, definition, 201));
expect(saved).toEqual(definition);
expect(requests.some(item => item.path.endsWith('/runs'))).toBe(false);
});