node-postgres/packages/pg-esm-test/pg-connection-string.test.js

18 lines
552 B
JavaScript

import assert from 'node:assert'
import { describe, it } from 'node:test'
import { parse, toClientConfig, parseIntoClientConfig } from 'pg-connection-string'
describe('pg-connection-string', () => {
it('should export parse function', () => {
assert.strictEqual(typeof parse, 'function')
})
it('should export toClientConfig function', () => {
assert.strictEqual(typeof toClientConfig, 'function')
})
it('should export parseIntoClientConfig function', () => {
assert.strictEqual(typeof parseIntoClientConfig, 'function')
})
})