Hi,
I am migrating the great seed project “clicker” with unit and e2e test to the latest versions, because I use it as a base for my app.
But I got into issues with zone.js:
PhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR EXCEPTION: TypeError: undefined is not a constructor (evaluating 'self._config.getBoolean('tapPolyfill')') in [null] ORIGINAL EXCEPTION: TypeError: undefined is not a constructor (evaluating 'self._config.getBoolean('tapPolyfill')') ORIGINAL STACKTRACE:
I checked all the topics here about the migration and used the latest app base as a base for the migration. I also tried to load the new angular2-polyfills.js
in the karma setup, but it did not help.
The errors can be reproduced in the branch of my fork:
git clone https://github.com/mavogel/clicker.git git checkout ionicBeta4AndAngularBeta14-migration npm install npm test
Some tests pass and some fail. That’s weird. The same with the e2e tests.
- Does anyone has an idea or experience with the new zone.js api and test infrastructure? Because that’s currently beyond my knowledge…
- Will the ionic team provide a test infrastructure in one of the ionic2 example apps for typescript?
Kind Regards Manuel