diff --git a/Makefile b/Makefile index 4eddd4f..a6f7b79 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,7 @@ test: test-unit test-all: jshint test-missing-native test-unit test-integration test-native test-binary +test-all-nonative: jshint test-unit test-integration test-binary update-npm: @npm i npm --global diff --git a/package.json b/package.json index 9ee1b5d..750e8ba 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "minNativeVersion": "1.7.0", "scripts": { "changelog": "npm i github-changes && ./node_modules/.bin/github-changes -o brianc -r node-postgres -d pulls -a -v", - "test": "make test-all connectionString=postgres://postgres@localhost:5432/postgres" + "test": "make test-all-nonative connectionString=postgres://postgres@localhost:$PGPORT/postgres" }, "license": "MIT", "engines": {