Commit 4b6ba8d
committed
fix(@angular-devkit/schematics):
When using Jest instanceof does not work correctly. See: jestjs/jest#2549
Closes: #27643
(cherry picked from commit 7b52b98)SchematicTestRunner.runExternalSchematic fails with "The encoded data was not valid for encoding utf-8"1 parent 3ada6eb commit 4b6ba8d
File tree
2 files changed
+12
-2
lines changed- packages/angular_devkit/schematics/src
- rules
- tree
2 files changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
308 | 313 | | |
309 | 314 | | |
310 | 315 | | |
| |||
0 commit comments