|
3 | 3 | "cases": [ |
4 | 4 | { |
5 | 5 | "description": "should create a simple @let declaration", |
6 | | - "angularCompilerOptions": { |
7 | | - "_enableLetSyntax": true |
8 | | - }, |
9 | 6 | "inputFiles": [ |
10 | 7 | "simple_let.ts" |
11 | 8 | ], |
|
23 | 20 | }, |
24 | 21 | { |
25 | 22 | "description": "should create multiple @let declarations that depend on each other", |
26 | | - "angularCompilerOptions": { |
27 | | - "_enableLetSyntax": true |
28 | | - }, |
29 | 23 | "inputFiles": [ |
30 | 24 | "multiple_let.ts" |
31 | 25 | ], |
|
43 | 37 | }, |
44 | 38 | { |
45 | 39 | "description": "should create a let using a pipe", |
46 | | - "angularCompilerOptions": { |
47 | | - "_enableLetSyntax": true |
48 | | - }, |
49 | 40 | "inputFiles": [ |
50 | 41 | "let_with_pipe.ts" |
51 | 42 | ], |
|
63 | 54 | }, |
64 | 55 | { |
65 | 56 | "description": "should be able to use let declarations in event listeners", |
66 | | - "angularCompilerOptions": { |
67 | | - "_enableLetSyntax": true |
68 | | - }, |
69 | 57 | "inputFiles": [ |
70 | 58 | "let_in_listener.ts" |
71 | 59 | ], |
|
83 | 71 | }, |
84 | 72 | { |
85 | 73 | "description": "should be able to use let declarations in child views", |
86 | | - "angularCompilerOptions": { |
87 | | - "_enableLetSyntax": true |
88 | | - }, |
89 | 74 | "inputFiles": [ |
90 | 75 | "let_in_child_view.ts" |
91 | 76 | ], |
|
103 | 88 | }, |
104 | 89 | { |
105 | 90 | "description": "should share let declarations between parent and child views", |
106 | | - "angularCompilerOptions": { |
107 | | - "_enableLetSyntax": true |
108 | | - }, |
109 | 91 | "inputFiles": [ |
110 | 92 | "let_shared_with_child_view.ts" |
111 | 93 | ], |
|
123 | 105 | }, |
124 | 106 | { |
125 | 107 | "description": "should be able to use let declarations in event listeners inside child views", |
126 | | - "angularCompilerOptions": { |
127 | | - "_enableLetSyntax": true |
128 | | - }, |
129 | 108 | "inputFiles": [ |
130 | 109 | "let_in_child_view_listener.ts" |
131 | 110 | ], |
|
143 | 122 | }, |
144 | 123 | { |
145 | 124 | "description": "should be able to use local references in let declarations", |
146 | | - "angularCompilerOptions": { |
147 | | - "_enableLetSyntax": true |
148 | | - }, |
149 | 125 | "inputFiles": [ |
150 | 126 | "let_local_refs.ts" |
151 | 127 | ], |
|
163 | 139 | }, |
164 | 140 | { |
165 | 141 | "description": "should be able to use forward references defined after the let declaration", |
166 | | - "angularCompilerOptions": { |
167 | | - "_enableLetSyntax": true |
168 | | - }, |
169 | 142 | "inputFiles": [ |
170 | 143 | "let_local_forward_refs.ts" |
171 | 144 | ], |
|
183 | 156 | }, |
184 | 157 | { |
185 | 158 | "description": "should be able to use for loop variables in let declarations", |
186 | | - "angularCompilerOptions": { |
187 | | - "_enableLetSyntax": true |
188 | | - }, |
189 | 159 | "inputFiles": [ |
190 | 160 | "let_for_loop.ts" |
191 | 161 | ], |
|
204 | 174 | { |
205 | 175 | "description": "should transform an invalid let reference to undefined", |
206 | 176 | "angularCompilerOptions": { |
207 | | - "_enableLetSyntax": true, |
208 | 177 | "checkTemplateBodies": false |
209 | 178 | }, |
210 | 179 | "inputFiles": [ |
|
224 | 193 | }, |
225 | 194 | { |
226 | 195 | "description": "should remove a single unused let declaration", |
227 | | - "angularCompilerOptions": { |
228 | | - "_enableLetSyntax": true |
229 | | - }, |
230 | 196 | "inputFiles": [ |
231 | 197 | "let_single_optimization.ts" |
232 | 198 | ], |
|
244 | 210 | }, |
245 | 211 | { |
246 | 212 | "description": "should remove a chain of unused let declarations", |
247 | | - "angularCompilerOptions": { |
248 | | - "_enableLetSyntax": true |
249 | | - }, |
250 | 213 | "inputFiles": [ |
251 | 214 | "let_multiple_optimization.ts" |
252 | 215 | ], |
|
264 | 227 | }, |
265 | 228 | { |
266 | 229 | "description": "should remove only the unused let declarations from the middle of a chain of declarations", |
267 | | - "angularCompilerOptions": { |
268 | | - "_enableLetSyntax": true |
269 | | - }, |
270 | 230 | "inputFiles": [ |
271 | 231 | "let_partial_optimization.ts" |
272 | 232 | ], |
|
284 | 244 | }, |
285 | 245 | { |
286 | 246 | "description": "should not remove let declarations that are only used in an event listener", |
287 | | - "angularCompilerOptions": { |
288 | | - "_enableLetSyntax": true |
289 | | - }, |
290 | 247 | "inputFiles": [ |
291 | 248 | "let_optimization_listener.ts" |
292 | 249 | ], |
|
304 | 261 | }, |
305 | 262 | { |
306 | 263 | "description": "should not remove let declarations that are only used in a child view", |
307 | | - "angularCompilerOptions": { |
308 | | - "_enableLetSyntax": true |
309 | | - }, |
310 | 264 | "inputFiles": [ |
311 | 265 | "let_optimization_child_view.ts" |
312 | 266 | ], |
|
0 commit comments