Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for zone.js 0.11.1 #448

Merged
merged 1 commit into from
Aug 23, 2020
Merged

Commits on Aug 21, 2020

  1. feat: add support for zone.js 0.11.1

    zone.js 0.11.1 support jest, so all logic of `zone-patch` are no longer needed,
    also zone.js 0.11.1 change the `dist` bundles to `Angular Package Format`, so the
    current `require` absolute path will not work any longer.
    
    So this PR make the following changes.
    1. Add logic in `setup-jest.ts`, to load `zone.js` and `zone.js/testing` moudles,
    if the jest patch is already available which means zone.js is 0.11.1+, we don't need to
    import zone.js module and patch ourselves. If the jest patch is not available, we
    still need to use the current logic as fallback.
    2. Add e2e test for Angular 10 with zone.js 0.11.1
    JiaLiPassion committed Aug 21, 2020
    Configuration menu
    Copy the full SHA
    1268bb4 View commit details
    Browse the repository at this point in the history