karma-runner / karma-runner/karma

Add an ability to avoid rebuilding modules using Angular CLI

Open
#3,286 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Hey guys, I've ran into an issue related to running-time of tests within Angular CLI using Karma runner.
The issue is that every time I'm intended to run the tests Karma rebuilds the modules and it takes so much time.

I'm just wondering whether there's a way to avoid this, like use `ng build` before running tests and provide an ability to use already built modules.

### Expected behaviour
Use already built modules

### Actual behaviour
![image](https://user-images.githubusercontent.com/4585857/54216912-a0658a80-44fb-11e9-81f3-b64d88805842.png)

### Environment Details
*Karma version: 4.0.1*
*NodeJS v8.10.0*
*NPM 6.2.0*

PS - if this kind of question has been raised already - bring me to this please then.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.