mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
36e10e7932
Previously, the tests in `create-example.spec.ts` made assertions using some hard-coded absolute paths (something like `/foo/bar`). This caused the tests to fail on Windows, where the absolute paths are prefixed with the drive letter (something like `C:/foo/bar`). This commit uses `path.resolve()` to ensure paths are converted to the format used on the current OS. PR Close #41842
4.5 KiB
4.5 KiB