test(ingestion): align scanner expectations with emitted metadata (CL27)
This commit is contained in:
parent
1aa35d2db3
commit
dac49ac1b8
1 changed files with 4 additions and 2 deletions
|
|
@ -117,8 +117,8 @@ describe('HandlerScanner', () => {
|
|||
name: 'mockHandler',
|
||||
service: 'test-service',
|
||||
operations: [
|
||||
{ name: 'processData', method: 'processData' },
|
||||
{ name: 'validateData', method: 'validateData' },
|
||||
{ name: 'processData', method: 'processData', rateLimit: null },
|
||||
{ name: 'validateData', method: 'validateData', rateLimit: null },
|
||||
],
|
||||
schedules: [
|
||||
{
|
||||
|
|
@ -128,8 +128,10 @@ describe('HandlerScanner', () => {
|
|||
immediately: false,
|
||||
description: 'Process data every hour',
|
||||
payload: { type: 'hourly' },
|
||||
batch: undefined,
|
||||
},
|
||||
],
|
||||
rateLimit: null,
|
||||
},
|
||||
expect.objectContaining({
|
||||
name: 'mockHandler',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue