After updating to Betta 11 all my tests failed.
For most of them I mock the push
method.
Here is the code:
beforeEachProviders(() => [
HTTP_PROVIDERS,
provide(XHRBackend, { useClass: MockBackend }),
BackendService,
provide(NavController, { useValue: { push: NavController.prototype.push } }),
provide(NavParams, { useValue: { get: NavParams.prototype.get, data: NavParams.prototype.data } })
]);
That is the error:
Any idea?