chore: add missing dependency for knex method in e2e-tests knexfile

This commit is contained in:
Jakub P.
2024-12-12 20:23:16 +01:00
parent 7d793ce2a2
commit bab87e9e67
4 changed files with 54 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
import { knexSnakeCaseMappers } from 'objection';
const fileExtension = 'js';
const knexConfig = {
@@ -7,7 +9,7 @@ const knexConfig = {
user: process.env.POSTGRES_USERNAME,
port: process.env.POSTGRES_PORT,
password: process.env.POSTGRES_PASSWORD,
database: process.env.POSTGRES_DATABASE
database: process.env.POSTGRES_DATABASE,
},
searchPath: ['public'],
pool: { min: 0, max: 20 },