Moved tests to separate directory · pgvector/pgvector-node@9611d7b · GitHub
Skip to content

Commit 9611d7b

Browse files
committed
Moved tests to separate directory
1 parent 1816514 commit 9611d7b

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const pgpromise = require('pg-promise');
2-
const pgvector = require('../pg/index');
2+
const pgvector = require('pgvector/pg');
33

44
const initOptions = {
55
async connect(e) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const { Client, Pool } = require('pg');
2-
const pgvector = require('./index');
2+
const pgvector = require('pgvector/pg');
33

44
const client = new Client({database: 'pgvector_node_test'});
55

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const postgres = require('postgres');
2-
const pgvector = require('../utils/index');
2+
const pgvector = require('pgvector/utils');
33

44
const sql = postgres({database: 'pgvector_node_test', onnotice: function() {}});
55

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const pgvector = require('../utils/index');
1+
const pgvector = require('pgvector/utils');
22
const { PrismaClient } = require('@prisma/client');
33

44
const prisma = new PrismaClient();
Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)