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:
QianZhu
2024-03-21 07:21:39 -07:00
committed by Weston Pace
parent 63db51c90d
commit bdd07a5dfa

View File

@@ -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)