ad2ffce986
`require('pg').native` will be `null` and report error once to `stdout` when `pg-native` is missing.
7 lines
188 B
JavaScript
7 lines
188 B
JavaScript
//this test assumes it has been run from the Makefile
|
|
//and that node_modules/pg-native has been deleted
|
|
|
|
var assert = require('assert');
|
|
|
|
assert.equal(require('../../lib').native, null);
|