When updating to ionic 3.1.1 in my project, I started receiving errors and tests were failing.
Uncaught TypeError: Cannot read property 'links' of null
at webpack:///~/ionic-angular/util/module-loader.js:106:0 <- karma-test-shim.js:58492
There was another PR which also wants to upgrade to latest ionic, but it does a bit more than that and does not work for me. This one worked with a fresh npm install and yielded consistent passing of the tests. This was resolved by adding links to the IonicModule and update ionic app scripts to 1.3.7.
When updating to ionic 3.1.1 in my project, I started receiving errors and tests were failing.
There was another PR which also wants to upgrade to latest ionic, but it does a bit more than that and does not work for me. This one worked with a fresh
npm install
and yielded consistent passing of the tests. This was resolved by addinglinks
to the IonicModule and update ionic app scripts to 1.3.7.