-
Notifications
You must be signed in to change notification settings - Fork 93
Commit 59f73ae
authored
feat: remove animations dependency (#531)
BREAKING CHANGE:
Angular recommends using CSS animations, https://angular.dev/guide/animations/migration
Because of the removal of the animations dependency, the `NoopAnimationsModule` is no longer automatically imported in the render function.
BEFORE:
The `NoopAnimationsModule` is always imported to the render the component.
AFTER:
Import the `NoopAnimationsModule` in your render configuration where needed:
```ts
await render(SutComponent, {
imports: [NoopAnimationsModule],
});
```1 parent 6a64bbe commit 59f73ae
File tree
5 files changed
+10
-33
lines changed- apps/example-app/src/app/examples
- projects/testing-library
- src/lib
- tests
5 files changed
+10
-33
lines changedLines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | + | ||
2 | 3 |
| |
3 | 4 |
| |
4 | 5 |
| |
| |||
9 | 10 |
| |
10 | 11 |
| |
11 | 12 |
| |
13 | + | ||
12 | 14 |
| |
13 | 15 |
| |
14 | 16 |
| |
| |||
28 | 30 |
| |
29 | 31 |
| |
30 | 32 |
| |
31 | - | ||
33 | + | ||
34 | + | ||
35 | + | ||
32 | 36 |
| |
33 | 37 |
| |
34 | 38 |
| |
| |||
50 | 54 |
| |
51 | 55 |
| |
52 | 56 |
| |
53 | - | ||
57 | + | ||
58 | + | ||
59 | + | ||
54 | 60 |
| |
55 | 61 |
| |
56 | 62 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 | - | ||
33 | 32 |
| |
34 | 33 |
| |
35 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
178 | 178 |
| |
179 | 179 |
| |
180 | 180 |
| |
181 | - | ||
182 | 181 |
| |
183 | 182 |
| |
184 | 183 |
| |
185 | 184 |
| |
186 | - | ||
185 | + | ||
187 | 186 |
| |
188 | 187 |
| |
189 | 188 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 | - | ||
16 | 15 |
| |
17 | 16 |
| |
18 | 17 |
| |
| |||
513 | 512 |
| |
514 | 513 |
| |
515 | 514 |
| |
516 | - | ||
517 | - | ||
518 | - | ||
519 | - | ||
520 | - | ||
521 | - | ||
522 | 515 |
| |
523 | 516 |
| |
524 | - | ||
517 | + | ||
525 | 518 |
| |
526 | 519 |
| |
527 | 520 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 | - | ||
21 | 20 |
| |
22 | 21 |
| |
23 | 22 |
| |
| |||
331 | 330 |
| |
332 | 331 |
| |
333 | 332 |
| |
334 | - | ||
335 | - | ||
336 | - | ||
337 | - | ||
338 | - | ||
339 | - | ||
340 | - | ||
341 | - | ||
342 | - | ||
343 | - | ||
344 | - | ||
345 | - | ||
346 | - | ||
347 | - | ||
348 | - | ||
349 | - | ||
350 | - | ||
351 | - | ||
352 | - | ||
353 | 333 |
| |
354 | 334 |
| |
355 | 335 |
| |
|
0 commit comments