mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
18 lines
552 B
JavaScript
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')
|
|
})
|
|
})
|