@Tombourret wrote:
I have some problem with a simple issue in my unit tests for an Ionic 4 project using Cordova. Somewhere in my tests, I have to subscribe to the Android back button :
this.backButtonSubscription = this.platform.backButton.subscribeWithPriority(9999, () => {});
And I’d like have a 100% code coverage on my project, so I must find a way to trigger the backButton event, but I don’t find any solution yet. Do you have any idea ?
Posts: 1
Participants: 1