Comments (11)
@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.
awesome! thanks @JiaLiPassion
from zone.js.
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.
@johnjbarton, is there any reproduce repo I can access? Thanks!
from zone.js.
Sorry, it's not my code, but I passed your request along.
from zone.js.
@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.
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.
from zone.js.
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.
@christophercr, yes, zone.js 0.9.0
now support jasmine 3.3
, if you find any issues, please report here, thanks!
from zone.js.
I will close this one for now, unless we found new issues for jasmine 3.3
from zone.js.
Related Issues (20)
- Suspicious code in promise.ts HOT 1
- Error: ReferenceError: Zone is not defined HOT 12
- phantomjs
- Missing tag for v0.8.27 release HOT 2
- zone.js breaks IndexedDB on Safari via EventTarget monkey patch
- Upgrading to karma 3.0.0, failure of test cases HOT 2
- microTask 'Promise.then': can not transition to 'running', expecting state 'scheduled', was 'scheduling'. HOT 3
- Zone long stack traces generates wrong stack trace HOT 1
- Evergreen bundle missing in dist HOT 2
- Provide example for using in plain JavaScript Node.js app HOT 5
- Browser extensions have window.customElements defined as null
- ServiseWorker compatiblitity issues in 0.9.0 HOT 1
- fakeAsync patch for requestAnimationFrame is not passing the timestamp HOT 4
- Illegal invocation using patched XMLHttpRequest HOT 13
- SyntaxError: Unexpected token
- Angular elements in another angular project: ERROR Error: Expected to not be in Angular Zone, but it is! HOT 4
- window.Zone Already Defined by Other Library HOT 8
- HTMLCanvasElement.toBlob() is no longer patched in 0.9.1 HOT 2
- WTF_ISSUE_555 loop garbage collection / unfunctional HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zone.js.