angular/packages/zone.js/lib/jasmine
arturovt c7bcc1b501 fix(zone.js): check if process is defined when patching the GlobalErrors.install (#45392)
Jasmine checks internally if `process` and `process.on` is defined. Otherwise,
it installs the browser rejection handler through the `global.addEventListener`.
This code may be run in the browser environment where `process` is not defined, and
this will lead to a runtime exception since Webpack 5 removed automatic Node.js polyfills.

PR Close #42260

PR Close #45392
2022-03-24 10:52:34 -07:00
..
jasmine.ts fix(zone.js): check if process is defined when patching the GlobalErrors.install (#45392) 2022-03-24 10:52:34 -07:00