Skip to content

Commit

Permalink
test: Increase delay time in AI test (box/box-codegen#571) (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
box-sdk-build authored Sep 26, 2024
1 parent 4a33562 commit 2dd66c5
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 115 deletions.
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "5ceb679", "specHash": "d9f90b8", "version": "1.6.0" }
{ "engineHash": "a8a741c", "specHash": "6b64d06", "version": "1.6.0" }
198 changes: 85 additions & 113 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/test/ai.generated.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ test('testAIExtract', async function testAIExtract(): Promise<any> {
),
} satisfies UploadFileRequestBody);
const file: FileFull = uploadedFiles.entries![0];
await delayInSeconds(2);
await delayInSeconds(5);
const response: AiResponse = await client.ai.createAiExtract({
prompt: 'firstName, lastName, location, yearOfBirth, company',
items: [new AiItemBase({ id: file.id })],
Expand Down

0 comments on commit 2dd66c5

Please sign in to comment.