How can I configure Karma to open a browser with command line arguments?

后端 未结 2 712
南方客
南方客 2021-02-07 08:34

I\'m using the Karma Test Runner and I\'ve configured it to use Chrome and PhantomJS like this:

browsers = [\'Chrome\', \'PhantomJS\'];

How can I configure Karma

2条回答
  •  情话喂你
    2021-02-07 08:43

    One solution I found, which may not be the most elegant, is to actually modify Karma's launcher scripts for each browser. This has solved the problem.

提交回复
热议问题