refactor(api): validate shared product response contracts (CL25)
This commit is contained in:
parent
e2292e4883
commit
366a6054bf
22 changed files with 989 additions and 451 deletions
|
|
@ -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);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue