-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Karma incorrectly reports [main] attribute deprecation #24563
Labels
Comments
13 tasks
@liamdebeasi Thanks for the quick turnaround |
This was referenced Feb 1, 2022
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Prerequisites
Ionic Framework Version
Current Behavior
When running the tests on an Ionic 6 application containing an
ion-menu
component, the following warning is sometimes issued, even though the related template does not use amain
attribute:Sometimes, the tests will also issue the error/warning:
Expected Behavior
No warning should be issued.
Steps to Reproduce
Create a new Ionic starter project containing a menu and then just run the tests, e.g.
Code Reproduction URL
No response
Ionic Info
Ionic:
Ionic CLI : 6.18.1 (C:\Users\David\AppData\Roaming\nvm\v16.13.0\node_modules@ionic\cli)
Ionic Framework : @ionic/angular 6.0.2
@angular-devkit/build-angular : 13.1.2
@angular-devkit/schematics : 12.0.1
@angular/cli : 13.1.2
@ionic/angular-toolkit : 5.0.3
Capacitor:
Capacitor CLI : 3.3.4
@capacitor/android : 3.3.4
@capacitor/core : 3.3.4
@capacitor/ios : 3.3.4
Utility:
cordova-res : not installed globally
native-run : 1.5.0
System:
NodeJS : v16.13.0 (C:\Program Files\nodejs\node.exe)
npm : 8.1.0
OS : Windows 10
Additional Information
This can be reproduced on the most simple example - the default starter project uses the following template but displays the warning:
According to #20142, the deprecation warnings were removed as part of Ionic Framework v5. However, this doesn't appear to be the case - see this line in menu.tsx.
The text was updated successfully, but these errors were encountered: