mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-05 19:32:56 +00:00
fix nodejs test (#1141)
changed the error msg for query with wrong vector dim thus need this change to pass the nodejs tests.
This commit is contained in:
@@ -240,7 +240,7 @@ describe("When creating an index", () => {
|
||||
)
|
||||
.column("vec")
|
||||
.toArrow(),
|
||||
).rejects.toThrow(/.*does not match the dimension.*/);
|
||||
).rejects.toThrow(/.* query dim=64, expected vector dim=32.*/);
|
||||
|
||||
const query64 = Array(64)
|
||||
.fill(1)
|
||||
|
||||
Reference in New Issue
Block a user