node-query/node_modules/pg/test/native/missing-native.js

9 lines
201 B
JavaScript
Raw Normal View History

2015-01-28 15:33:44 -05:00
//this test assumes it has been run from the Makefile
//and that node_modules/pg-native has been deleted
var assert = require('assert');
assert.throws(function() {
require('../../lib').native;
});