-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,38 @@ | ||
# MyApp | ||
# Reproduction steps | ||
|
||
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.2.12. | ||
1. Run `npm i` | ||
2. Run `ng serve` | ||
3. Open browser and visit localhost:4200 | ||
4. Click list button | ||
5. Edit one of the input fields | ||
6. Click empty button | ||
7. Repeat step 4 to 6 couple times | ||
8. Open inspect memory tab | ||
9. Click bin to collect garbage | ||
10. Take a heap snapshot | ||
11. Search for ListComponent | ||
|
||
## Development server | ||
## Current behavior | ||
|
||
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. | ||
Instances of ListComponent in the memory. | ||
|
||
## Code scaffolding | ||
## Expected behavior | ||
|
||
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. | ||
No instance of ListComponent to exist in memory. | ||
|
||
## Build | ||
This only happens when the input field is modified | ||
|
||
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build. | ||
## Enviroment | ||
|
||
## Running unit tests | ||
Angular version: 11.2.13 | ||
|
||
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). | ||
Browser: | ||
- [x] Chrome (desktop) version 90.0.4430.93 (Official Build) (x86_64) | ||
- [ ] Chrome (Android) version XX | ||
- [ ] Chrome (iOS) version XX | ||
- [ ] Firefox version XX | ||
- [ ] Safari (desktop) version XX | ||
- [ ] Safari (iOS) version XX | ||
- [ ] IE version XX | ||
- [ ] Edge version XX | ||
|
||
## Running end-to-end tests | ||
|
||
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). | ||
|
||
## Further help | ||
|
||
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page. |