1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: Specify helpers in ava

This commit is contained in:
ivaosthu 2019-06-06 08:10:58 +02:00 committed by Ivar Conradi Østhus
parent f854428c47
commit ecc81c0a18

View File

@ -40,7 +40,7 @@
"db-migrate": "db-migrate", "db-migrate": "db-migrate",
"lint": "eslint .", "lint": "eslint .",
"pretest": "npm run lint", "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:docker": "./scripts/docker-postgres.sh",
"test:watch": "npm run test -- --watch", "test:watch": "npm run test -- --watch",
"test:pg-virtualenv": "pg_virtualenv npm run test:pg-virtualenv-chai", "test:pg-virtualenv": "pg_virtualenv npm run test:pg-virtualenv-chai",
@ -55,6 +55,12 @@
"lib/**/*.js" "lib/**/*.js"
] ]
}, },
"ava": {
"helpers": [
"**/helpers/**/*",
"**/fixtures/**/*"
]
},
"dependencies": { "dependencies": {
"async": "^3.0.1", "async": "^3.0.1",
"commander": "^2.19.0", "commander": "^2.19.0",