`ng test` should accept argument for karma configuration file
See original GitHub issueAs discussed with @hansl, currently there is no way to specify the location of karma.conf.js
when running ng test
. We should allow this to be specified so that angular-cli can be used with projects that do not place config files in their default locations.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:4
- Comments:17 (6 by maintainers)
Top Results From Across the Web
ng test - Angular
Option Description Value Type Defau...
‑‑browsers Override which browsers tests are run against. string
‑‑code‑coverage Output a code coverage report. boolean false
‑‑code‑coverage‑exclude Globs to exclude...
Read more >Perform single tests using Karma and Angular CLI when tests ...
The basic idea is to pass an additional parameter to karma and change the way this “selects” the .spec.ts files to be executed....
Read more >Configuration File - Karma
The Karma configuration file can be written in JavaScript, CoffeeScript, or TypeScript and is loaded as a regular Node.js module. Unless provided as...
Read more >Angular CLI - ng test Command - Tutorialspoint
Angular CLI - ng test Command, This chapter explains the syntax, argument and ... 7, --karmaConfig=karmaConfig, The name of the Karma configuration file....
Read more >ng test - Angular
json workspace configuration file. When a project name is not supplied, it will execute for all projects. Arguments. Argument, Description. < ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
An example scenario for multiple test configs:
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.