Commit 7806398
authored
build: add explicit change detection to tests (#33010)
In the next pre-release version of Angular, components that don't specify a `changeDetection` will become `OnPush` by default. These changes add `ChangeDetectionStrategy.Eager` to all test components, because a lot of them will start to fail with the new behavior.1 parent 6efb2bc commit 7806398
File tree
220 files changed
+1395
-188
lines changed- src
- aria
- accordion
- combobox
- grid
- listbox
- private/deferred-content
- tabs
- toolbar
- tree
- cdk-experimental
- popover-edit
- scrolling
- selection
- table-scroll-container
- cdk
- a11y
- aria-describer
- focus-monitor
- focus-trap
- key-manager
- live-announcer
- accordion
- bidi
- clipboard
- dialog
- drag-drop
- directives
- listbox
- observers
- private
- overlay
- dispatchers
- position
- scroll
- portal
- scrolling
- table
- text-field
- tree
- e2e-app/components
- block-scroll-strategy
- e2e-app
- virtual-scroll
- google-maps
- deprecated-map-marker-clusterer
- google-map
- map-advanced-marker
- map-bicycling-layer
- map-circle
- map-directions-renderer
- map-ground-overlay
- map-heatmap-layer
- map-info-window
- map-kml-layer
- map-marker-clusterer
- map-marker
- map-polygon
- map-polyline
- map-rectangle
- map-traffic-layer
- map-transit-layer
- material-experimental
- column-resize
- popover-edit
- material
- autocomplete
- testing
- badge
- testing
- bottom-sheet
- testing
- button-toggle
- testing
- button
- testing
- card
- testing
- checkbox
- testing
- chips
- testing
- core
- option
- ripple
- testing
- datepicker
- testing
- dialog
- testing
- divider
- testing
- expansion
- testing
- form-field/testing
- grid-list
- testing
- icon
- testing
- input
- testing
- list
- testing
- paginator
- testing
- progress-bar
- testing
- progress-spinner
- testing
- radio
- testing
- select
- testing
- slide-toggle
- testing
- slider
- testing
- snack-bar
- testing
- sort
- testing
- stepper
- testing
- table
- testing
- tabs
- testing
- timepicker
- testing
- toolbar
- testing
- tooltip
- testing
- tree
- testing
- youtube-player
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
220 files changed
+1395
-188
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
| 407 | + | |
407 | 408 | | |
408 | 409 | | |
409 | 410 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
1126 | 1126 | | |
1127 | 1127 | | |
1128 | 1128 | | |
| 1129 | + | |
1129 | 1130 | | |
1130 | 1131 | | |
1131 | 1132 | | |
| |||
1196 | 1197 | | |
1197 | 1198 | | |
1198 | 1199 | | |
| 1200 | + | |
1199 | 1201 | | |
1200 | 1202 | | |
1201 | 1203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
1056 | 1056 | | |
1057 | 1057 | | |
1058 | 1058 | | |
| 1059 | + | |
1059 | 1060 | | |
1060 | 1061 | | |
1061 | 1062 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
| 802 | + | |
802 | 803 | | |
803 | 804 | | |
804 | 805 | | |
| |||
830 | 831 | | |
831 | 832 | | |
832 | 833 | | |
| 834 | + | |
833 | 835 | | |
834 | 836 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
989 | 989 | | |
990 | 990 | | |
991 | 991 | | |
| 992 | + | |
992 | 993 | | |
993 | 994 | | |
994 | 995 | | |
| |||
1017 | 1018 | | |
1018 | 1019 | | |
1019 | 1020 | | |
| 1021 | + | |
1020 | 1022 | | |
1021 | 1023 | | |
1022 | 1024 | | |
| |||
1056 | 1058 | | |
1057 | 1059 | | |
1058 | 1060 | | |
| 1061 | + | |
1059 | 1062 | | |
1060 | 1063 | | |
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
2 | 10 | | |
3 | 11 | | |
4 | 12 | | |
| |||
83 | 91 | | |
84 | 92 | | |
85 | 93 | | |
| 94 | + | |
86 | 95 | | |
87 | 96 | | |
88 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
733 | 733 | | |
734 | 734 | | |
735 | 735 | | |
| 736 | + | |
736 | 737 | | |
737 | 738 | | |
738 | 739 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
2 | 9 | | |
3 | 10 | | |
4 | 11 | | |
| |||
673 | 680 | | |
674 | 681 | | |
675 | 682 | | |
| 683 | + | |
676 | 684 | | |
677 | 685 | | |
678 | 686 | | |
| |||
713 | 721 | | |
714 | 722 | | |
715 | 723 | | |
| 724 | + | |
716 | 725 | | |
717 | 726 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
1579 | 1579 | | |
1580 | 1580 | | |
1581 | 1581 | | |
| 1582 | + | |
1582 | 1583 | | |
1583 | 1584 | | |
1584 | 1585 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
858 | 859 | | |
859 | 860 | | |
860 | 861 | | |
| 862 | + | |
861 | 863 | | |
862 | 864 | | |
863 | 865 | | |
| |||
919 | 921 | | |
920 | 922 | | |
921 | 923 | | |
| 924 | + | |
922 | 925 | | |
923 | 926 | | |
924 | 927 | | |
| |||
1004 | 1007 | | |
1005 | 1008 | | |
1006 | 1009 | | |
| 1010 | + | |
1007 | 1011 | | |
1008 | 1012 | | |
1009 | 1013 | | |
| |||
1078 | 1082 | | |
1079 | 1083 | | |
1080 | 1084 | | |
| 1085 | + | |
1081 | 1086 | | |
1082 | 1087 | | |
1083 | 1088 | | |
| |||
1159 | 1164 | | |
1160 | 1165 | | |
1161 | 1166 | | |
| 1167 | + | |
1162 | 1168 | | |
1163 | 1169 | | |
1164 | 1170 | | |
| |||
0 commit comments