Skip to content

Commit a50f56f

Browse files
committed
Fix unit test
1 parent 6bdad50 commit a50f56f

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/collections/serialize/unit.test.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -442,11 +442,14 @@ describe('Unit testing of Serialize', () => {
442442
});
443443

444444
it('should parse args for generative', () => {
445-
const args = Serialize.generative({
446-
singlePrompt: 'test',
447-
groupedProperties: ['name'],
448-
groupedTask: 'testing',
449-
});
445+
const args = Serialize.generative(
446+
{ supportsSingleGrouped: false },
447+
{
448+
singlePrompt: 'test',
449+
groupedProperties: ['name'],
450+
groupedTask: 'testing',
451+
}
452+
);
450453
expect(args).toEqual<GenerativeSearch>({
451454
singleResponsePrompt: 'test',
452455
groupedProperties: ['name'],

0 commit comments

Comments
 (0)