We are spending about 21s (on my MBP) somewhere between kicking off the test run and tests actually running.
I tried to debug this a bit and here is what I found:
- dartium's timeline confirms the time is spent in fetching context.html
- deducing from Karma's log, it looks like the time is spent in watcher or rather karma-dart's adapter that generates the list of files to serve.
To repro:
- run
gulp test.unit.dart
- in separate terminal run
touch modules/angular2/src/di/injector.ts
cc: @pkozlowski-opensource @tbosch