mgechev / mgechev/angular-seed

TestBed aotSummaries

Open
#2,162 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.5k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

[X] feature request

Apparently, Angular added a feature called `aotSummaries` to `TestBed.initTestEnvironment()` at some point (https://angular.io/api/core/testing/TestBed#initTestEnvironment). But the docs are pretty sparse. Could the seed be updated to support these? Apparently, it makes unit tests run much faster because the HTML templates aren't constantly recompiled for every spec method.

Contributor guide

Open the contributing guide

Research direction

Start by locating the seed's TestBed.initTestEnvironment setup and read Angular's aotSummaries API documentation. Determine how the test environment is initialized and verify the change with the seed's existing unit-test workflow; done means the seed supports the requested option and tests still run correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.