Giter Site home page Giter Site logo

Comments (11)

JiaLiPassion avatar JiaLiPassion commented on June 15, 2024

@IgorMinar, sure, I will take a look
@johnjbarton, if you can provide some error information you got, it will be greatly helpful.
Thanks.

from zone.js.

IgorMinar avatar IgorMinar commented on June 15, 2024

awesome! thanks @JiaLiPassion

from zone.js.

johnjbarton avatar johnjbarton commented on June 15, 2024

First a couple of hints: our jasmine 3.3 upgrade hit two bumps: the default for tests is now 'random' and the configuration API changed resulting in some mysterious fails. After that we got stuck on fails from code that uses zonejs. I don't know the code involved; the stack I see is:

Chrome 71.0.3578 (Linux 0.0.0): error TypeError: Cannot read property 'apply' of undefined
TypeError: Cannot read property 'apply' of undefined
    at ZoneDelegate.invokeTask (...zone_js/v0_8_21/lib/zone.js:408:31)
    at Zone.runTask (.../zone_js/v0_8_21/lib/zone.js:175:47)
    at drainMicroTaskQueue (.../zone_js/v0_8_21/lib/zone.js:582:35)

from zone.js.

JiaLiPassion avatar JiaLiPassion commented on June 15, 2024

@johnjbarton, is there any reproduce repo I can access? Thanks!

from zone.js.

johnjbarton avatar johnjbarton commented on June 15, 2024

Sorry, it's not my code, but I passed your request along.

from zone.js.

JiaLiPassion avatar JiaLiPassion commented on June 15, 2024

@johnjbarton, thanks, the only breaking changes of jasmine 3.3 I knew is nodejs process.unhandledRejection handling, I will also upgrade jasmine to 3.3 in zone.js repo.

And also you may try to set random: false in jasmine config to check whether this issue still there or not.

from zone.js.

johnjbarton avatar johnjbarton commented on June 15, 2024

The code that fails for us currently runs on jasmine 2.9. So the delta we are working with is 3.3-2.9 rather than 3.3-3.2. (We've already set random: false for our 3.3 attempts; also note we are running against your 0.8.21 which I don't control).

Note that the stacktrace I listed above is from code that involves testing errors in async functions.

from zone.js.

IgorMinar avatar IgorMinar commented on June 15, 2024

from zone.js.

christophercr avatar christophercr commented on June 15, 2024

Question: is #1185 related to this issue? if so, would that mean that Jasmine 3.3 is now supported in angular/zone.js v0.9.0?

from zone.js.

JiaLiPassion avatar JiaLiPassion commented on June 15, 2024

@christophercr, yes, zone.js 0.9.0 now support jasmine 3.3, if you find any issues, please report here, thanks!

from zone.js.

JiaLiPassion avatar JiaLiPassion commented on June 15, 2024

I will close this one for now, unless we found new issues for jasmine 3.3

from zone.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.