UNPKG

pgmock2

Version:

An NPM module for mocking a connection to a PostgreSQL database.

6 lines (5 loc) 212 B
import { Client, Pool } from 'pg'; import PGMock2 from './PGMock2'; export default PGMock2; export declare const getClient: (pgmock?: PGMock2) => Client; export declare const getPool: (pgmock?: PGMock2) => Pool;