Closed emroussel closed 7 years ago
Looks like you need to add a setTransition
function to your ConfigMock
:
https://github.com/driftyco/ionic/blob/master/src/config/config.ts#L385-L387
So something like this
setTransition(trnsName: string, trnsClass: any) {
// this does not do anything
}
Should do the trick? Also see this discussion which may provide some background.
Be very happy to take a PR to the mocks here if you add useful stuff 😸
Yep that was it, thanks!
After updating to ionic 3.0.1, I get the following error when running tests:
The app runs fine, so it's probably a problem with the testing set up.
I tried making the same changes made in this commit, but with no luck.
Any ideas?