mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 03:23:57 +08:00
The Builder test harness previously used the deprecated `TestProjectHost` to perform a variety of file operations during builder unit tests. However, the `TestProjectHost` is deprecated and uses several layers of rxjs to perform the file operations. The test harness now uses the Node.js `fs` builtin to directly perform the file operations. This removes several layers of indirection between the harness and the actual underlying file operations. The removal of the rxjs operation chaining also reduces stack traces and makes debugging test issues less complicated.