Skip to content

Commit 5de8c7e

Browse files
committed
fix tests
1 parent 60cf24d commit 5de8c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/tools/mongodb/create/createIndex.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ describeWithMongoDB(
491491
expect(indexes[0]?.queryable).toEqual(false);
492492
expect(indexes[0]?.latestDefinition).toEqual({
493493
fields: [
494-
{ type: "vector", path: "vector_1", numDimensions: 4, similarity: "cosine" },
494+
{ type: "vector", path: "vector_1", numDimensions: 4, similarity: "euclidean" },
495495
{ type: "filter", path: "category" },
496496
],
497497
});

0 commit comments

Comments
 (0)