Skip to content

How do I pass in different outputDirectory for each run? #232

Answered by nomercy2007
nomercy2007 asked this question in Q&A
Discussion options

You must be logged in to vote

I figured it out how I could do this. I shared what I did just in case someone has the same need. This is how I configured my run tasks in package.json
"scripts": {
"start": "tsc && node dist/app/app.js",
"unit_tests": "set JEST_SUITE_NAME=Unit Tests && set JEST_JUNIT_OUTPUT_DIR=.build_output/unit-tests && jest --testMatch /unit_tests//.test.ts",
"integration_tests": "set JEST_SUITE_NAME=Integration Tests && set JEST_JUNIT_OUTPUT_DIR=.build_output/integration_tests && jest --testMatch /integration_tests//
.test.ts",
"build": "tsc",
"lint": "eslint ."
},

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nomercy2007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant