diff --git a/package.json b/package.json index f058494623..0f320fae50 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "db-migrate": "db-migrate", "lint": "eslint .", "pretest": "npm run lint", - "test": "NODE_ENV=test PORT=4243 ava lib/*.test.js lib/**/*.test.js lib/**/**/*.test.js lib/**/**/**/*.test.js test", + "test": "NODE_ENV=test PORT=4243 ava", "test:docker": "./scripts/docker-postgres.sh", "test:watch": "npm run test -- --watch", "test:pg-virtualenv": "pg_virtualenv npm run test:pg-virtualenv-chai", @@ -55,6 +55,12 @@ "lib/**/*.js" ] }, + "ava": { + "helpers": [ + "**/helpers/**/*", + "**/fixtures/**/*" + ] + }, "dependencies": { "async": "^3.0.1", "commander": "^2.19.0",