From 71526e3b0cc9df1d1e3e56e416e2b309b85a4f29 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Thu, 27 Jun 2024 17:08:37 -0700 Subject: [PATCH] Improved test --- tests/pg-promise/index.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);