mirror of
https://github.com/garrytan/gbrain.git
synced 2026-07-30 11:22:34 +00:00
* test(webhook): pin sync extraction contract (#2849) * test(webhook): target the submitted sync payload (#2849) * fix(webhook): run extraction in sync job (#2849) * fix(sync): align push trigger extraction (#2849) Co-authored-by: Song <patentsong@gmail.com>
This commit is contained in:
@@ -100,6 +100,7 @@ describe('runSyncTrigger', () => {
|
||||
const job = jobs[0];
|
||||
expect(job.priority).toBe(-10);
|
||||
expect((job.data as { sourceId: string }).sourceId).toBe('default');
|
||||
expect((job.data as { noExtract: boolean }).noExtract).toBe(false);
|
||||
expect((job.data as { auto_embed_backfill: boolean }).auto_embed_backfill).toBe(true);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user