Skip to content

Commit

Permalink
Merge pull request #86 from pm4ml/feat/iprod-416-updated
Browse files Browse the repository at this point in the history
feat(iprod-416): added SWITCH_ID=switch to .env for testing
  • Loading branch information
geka-evk authored Aug 15, 2024
2 parents ed825b3 + aa3cb3f commit 6b133cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docker/functional-tests.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ VAULT_ROLE_ID_FILE=/tmp/vault/role-id
VAULT_ROLE_SECRET_ID_FILE=/tmp/vault/secret-id
VAULT_PKI_CLIENT_ROLE=example.com
VAULT_PKI_SERVER_ROLE=example.com

SWITCH_ID=switch
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"scripts": {
"prepare": "npx husky install",
"test": "npm run test:int",
"test:int": "echo 'WARNING: Run \"npm run backend:start\" before executing...\n' && TEST=true mocha './test/int/**/*.test.js'",
"test:int": "echo 'WARNING: Run \"npm run backend:start\" before executing...\n' && TEST=true SWITCH_ID=switch mocha './test/int/**/*.test.js'",
"test-self-signed-server": "./run-vault.sh && TEST_START_SELF_SIGNED_SERVER=true npm test ; ./kill-vault.sh",
"lint": "npx eslint ./src ./test/int",
"lint:fix": "npm run lint -- --fix",
Expand Down

0 comments on commit 6b133cb

Please sign in to comment.