diff --git a/tests/pg-promise/index.test.mjs b/tests/pg-promise/index.test.mjs index b31a86f..4dbe8f5 100644 --- a/tests/pg-promise/index.test.mjs +++ b/tests/pg-promise/index.test.mjs @@ -5,7 +5,7 @@ import { SparseVector } from 'pgvector'; test('example', async () => { const initOptions = { async connect(e) { - await pgvector.registerType(e.client); + await pgvector.registerTypes(e.client); } }; const pgp = pgpromise(initOptions);