-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
chore(deps): upgrading lib to angular version 12 #771
Conversation
There seems to be lot of issues with the Jest unit tests, I'm not sure if it's because I didn't update Angular-Jest in a while but there's definitely something wrong here. Test Suites: 31 failed, 135 passed, 166 total
Tests: 738 failed, 3 skipped, 2248 passed, 2989 total |
tsconfig.json
Outdated
@@ -12,7 +12,6 @@ | |||
"noUnusedParameters": false, | |||
"noUnusedLocals": false, | |||
"noImplicitReturns": true, | |||
"emitDecoratorMetadata": true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sapnildessai can you put back that line that I've identified in the last comment and see if that helps. |
Update tsconfig with "emitDecoratorMetadata": true property
Yes. Added it back |
Removed flatpickr variable since it is always defined
Removed flatpickr variable since it's always defined
Codecov Report
@@ Coverage Diff @@
## master #771 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 161 161
Lines 11280 11280
Branches 4022 4022
=========================================
Hits 11280 11280 Continue to review full report at Codecov.
|
now we're in business, it all works now 😃 Was that line removal |
Yay!! Yes it was added by ng update. Yes, let's remove it from main tsconfig and add it to spec json file and see. |
Removing "emitDecoratorMetadata": true
Added "emitDecoratorMetadata": true property
that doesn't seem to work, so let's put it back to when it passed and I'll look at fixing it in future PR (unless you want to troubleshoot it). Thanks a lot for the great contribution here 👍 |
@sapnildessai hey so I don't think you replied to question, I would just like to confirm... have you also tried the Excel Export (which was that issue related to)? |
Hey. Sorry which issue are you taking about? I haven't tried excel export after the upgrade. |
the issue #769, that other user wrote this
|
No I haven't tried. Let me forcefully upgrade demo project and try it locally. |
I have verified that excel export is working fine after upgrading to angular 12. I did a force update on the demo fork. |
#769 : Angular 12 support