build: remove unnecessary internal-angular
karma reporter (#24803)
The reporter was added in 87d56acda
, with the purpose of fixing
source-map paths (which was apparently needed back then). Things have
moved around a lot since then and the custom reporter doesn't seem to be
necessary any more. By removing the reporter, we have one less thing to
worry about while upgrading karma; plus we get improvements in built-in
reporters for free.
Output with the custom reporter:
```
at someMethod (packages/core/.../some-file.ts:13:37)
```
Output with the built-in reporter:
```
at someMethod (packages/core/.../some-file.ts:13.37 <- dist/all/@angular/core/.../some-file.js:1:337)
```
PR Close #24803
This commit is contained in:

committed by
Miško Hevery

parent
89203c96ad
commit
ddb792da28
@ -10,5 +10,5 @@ source ${thisDir}/_travis-fold.sh
|
||||
travisFoldStart "test.unit.saucelabs"
|
||||
./scripts/sauce/sauce_connect_block.sh
|
||||
SAUCE_ACCESS_KEY=`echo $SAUCE_ACCESS_KEY | rev`
|
||||
$(npm bin)/karma start ./karma-js.conf.js --single-run --browsers=${KARMA_JS_BROWSERS} --reporters internal-angular,saucelabs
|
||||
$(npm bin)/karma start ./karma-js.conf.js --single-run --browsers=${KARMA_JS_BROWSERS} --reporters dots,saucelabs
|
||||
travisFoldEnd "test.unit.saucelabs"
|
||||
|
Reference in New Issue
Block a user