adding test ci command to ignore local .env

This commit is contained in:
Martin McKeaveney 2023-02-17 17:27:17 +00:00
parent 7caeb2b09f
commit 0ee77aa9b0
1 changed files with 2 additions and 1 deletions

View File

@ -9,10 +9,11 @@
"url": "https://github.com/Budibase/budibase.git" "url": "https://github.com/Budibase/budibase.git"
}, },
"scripts": { "scripts": {
"test": "env-cmd jest --runInBand --json --outputFile=testResults.json", "test": "env-cmd jest --runInBand",
"test:watch": "env-cmd jest --watch", "test:watch": "env-cmd jest --watch",
"test:debug": "DEBUG=1 jest", "test:debug": "DEBUG=1 jest",
"test:notify": "node scripts/testResultsWebhook", "test:notify": "node scripts/testResultsWebhook",
"test:ci": "jest --runInBand --json --outputFile=testResults.json",
"docker:up": "docker-compose up -d", "docker:up": "docker-compose up -d",
"docker:down": "docker-compose down", "docker:down": "docker-compose down",
"api:server:setup": "npm run docker:up && env-cmd ts-node ../packages/builder/ts/setup.ts", "api:server:setup": "npm run docker:up && env-cmd ts-node ../packages/builder/ts/setup.ts",