Closed Yermo closed 1 year ago
Thanks for the report. It looks like https://github.com/ionic-team/tutorial-photo-gallery-angular still references Ionic Native. We should probably remove those in favor of the Capacitor plugins.
(Apologies for the multiple issue transfers, it took me a few tries to find the correct repo for this 😄)
No worries. My apologies that I didn't post it to the right project from the start. (Didn't know.) Thank you for looking at this.
Thanks for the report. This was fixed in https://github.com/ionic-team/tutorial-photo-gallery-angular/pull/76.
Prerequisites
Ionic Framework Version
v5.x, v6.x, v7.x
Current Behavior
The my-first-app angular sample app unit tests fail.
yields:
Expected Behavior
It should pass the unit tests.
Steps to Reproduce
$ ionic start ionic-my-first-app my-first-app --type=angular
$ cd ionic-my-first-app
$ npm run test
Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 7.1.1 (/home/yml/.config/nvm/versions/node/v16.14.2/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 5.9.4 @angular-devkit/build-angular : 12.2.18 @angular-devkit/schematics : 12.2.18 @angular/cli : 12.2.18 @ionic/angular-toolkit : 4.0.0
Capacitor:
Capacitor CLI : 4.4.0 @capacitor/android : 4.4.0 @capacitor/core : 4.4.0 @capacitor/ios : 4.4.0
Utility:
cordova-res : not installed globally native-run (update available: 1.7.3) : 1.7.1
System:
NodeJS : v16.14.2 (/home/yml/.config/nvm/versions/node/v16.14.2/bin/node) npm : 8.5.0 OS : Linux 5.3
Additional Information
The spec references ionic-native and not capacitor.