I am attempting to execute the Angular Test against a single spec.ts file on my CentOS box.
I can use the command line from the OS terminal or within IntelliJ Terminal
*ng test --include="somefile.spec.ts"*
and the Angular Karma Test will run just that specific file.
However, I cannot seem to find a way to properly setup the Run/Debug Configuration to allow me to run at just the click of a button the current spec.ts file that I am on.
Here is an image of what I currently have. Note: test_file just calls ng test
Would really appreciate some guidance on how to configure this.
CodePudding user response:
You need using -- --
syntax to pass arguments to a tool run with NPM script, see