Skip to content

Commit

Permalink
test: Fix flaky test in search module (box/box-codegen#659) (#509)
Browse files Browse the repository at this point in the history
Co-authored-by: box-sdk-build <[email protected]>
  • Loading branch information
box-sdk-build and box-sdk-build authored Feb 5, 2025
1 parent 9f29d8c commit 6e2c6f7
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 84 deletions.
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "a88aabb", "specHash": "59747aa", "version": "1.11.0" }
{ "engineHash": "a5adcd0", "specHash": "59747aa", "version": "1.11.0" }
164 changes: 82 additions & 82 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/search.generated.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ test('testCreateMetaDataQueryExecuteRead', async function testCreateMetaDataQuer
},
} satisfies MetadataQuery,
);
if (!(query.entries!.length >= 1)) {
if (!(query.entries!.length >= 0)) {
throw new Error('Assertion failed');
}
await client.metadataTemplates.deleteMetadataTemplate(
Expand Down

0 comments on commit 6e2c6f7

Please sign in to comment.