-
Notifications
You must be signed in to change notification settings - Fork 25
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
fix: conditionally add async tag in page editor clientlibs #19
Conversation
Codecov Report
@@ Coverage Diff @@
## master #19 +/- ##
==========================================
+ Coverage 90.83% 91.67% +0.84%
==========================================
Files 10 11 +1
Lines 622 685 +63
Branches 169 182 +13
==========================================
+ Hits 565 628 +63
Misses 56 56
Partials 1 1
Continue to review full report at Codecov.
|
src/Utils.ts
Outdated
let tags = ''; | ||
if (state === Constants.AUTHORING) { | ||
const clientLibs = this.generateClientLibsUrl(); | ||
clientLibs.forEach(clientlib => { |
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.
I think it would be cool if we changed the forEach
to map
and return the tags, this way we have no side effect
@rachitkumar13 i have updated github actions (your branch is basing on very old master) and while sonar check is now passing, codecov still requires better coverage, see https://github.com/adobe/aem-spa-page-model-manager/pull/19/checks?check_run_id=1124975929 missing tests for:
|
.github/workflows/ci.yml
Outdated
-Dsonar.sources=src | ||
-Dsonar.tests=test | ||
-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info |
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.
i fixed here sonar code coverage reports
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
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.
Test
# [1.1.0](v1.0.3...v1.1.0) (2020-09-22) ### Features * conditionally add async tag in page editor clientlibs ([#19](#19)) ([9c3e86b](9c3e86b))
🎉 This PR is included in version 1.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No description provided.