-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Commit 05cebdb
committed
fix(@angular/build): proxy karma request from
This commit fixes an issue where Karma requests were not being correctly proxied, leading to 404 errors for assets and other files during test execution in Angular projects. The fix ensures that all Karma requests from the root (`/`) are correctly forwarded to the `/base` directory, where Karma serves the files.
Karma will always serve files from `/base`. This change aligns the testing environment with this fundamental behavior, resolving pathing issues and ensuring that tests can locate their dependencies reliably.
Closes #30627
(cherry picked from commit 73f57f3)/
to /base
1 parent 434ebb1 commit 05cebdb
1 file changed
+4
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
102 | + | ||
102 | 103 |
| |
103 | 104 |
| |
104 | 105 |
| |
105 | 106 |
| |
106 | 107 |
| |
107 | 108 |
| |
108 | 109 |
| |
110 | + | ||
111 | + | ||
112 | + | ||
109 | 113 |
| |
110 | 114 |
| |
111 | 115 |
| |
|
0 commit comments