From ecc81c0a18ae0e2dc9c90394a4cf0a793b1a1777 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Thu, 6 Jun 2019 08:10:58 +0200 Subject: [PATCH] fix: Specify helpers in ava --- package.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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",