node-postgres/test/native/missing-native.js

9 lines
201 B
JavaScript
Raw Normal View History

//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;
});