From ee36344a26aa0cc91e88d3ab81056263f2365f46 Mon Sep 17 00:00:00 2001 From: brianc Date: Mon, 15 Oct 2012 17:47:28 -0500 Subject: [PATCH] add test for exported types --- test/unit/utils-tests.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/unit/utils-tests.js b/test/unit/utils-tests.js index 4c9535bb..1a9fb990 100644 --- a/test/unit/utils-tests.js +++ b/test/unit/utils-tests.js @@ -158,3 +158,8 @@ test('libpq connection string building', function() { }); }) + +test('types are exported', function() { + var pg = require(__dirname + '/../../lib/index'); + assert.ok(pg.types); +});