-
Notifications
You must be signed in to change notification settings - Fork 66
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
Log JS SDK library #183
Log JS SDK library #183
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #183 +/- ##
==========================================
+ Coverage 73.68% 73.74% +0.05%
==========================================
Files 23 23
Lines 2037 2045 +8
Branches 240 241 +1
==========================================
+ Hits 1501 1508 +7
- Misses 526 527 +1
Partials 10 10 ☔ View full report in Codecov by Sentry. |
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.
we are going to add the default |
@wsbrunson, I'm going to wait on merging this PR, because I'm not totally clear yet on where we're going to enforce values. I'm thinking we should enforce the JS library values in the JS libraries themselves and |
02f2522
to
7dcc530
Compare
01d046e
to
5b1d344
Compare
codecov is wanting me to write tests for alphabetizing the FPTI keys. 👇 🙃 |
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.
getCurrentScript.mockReturnValue(mockElement); | ||
|
||
expect(getJsSdkLibrary()).toEqual(jsSdkLibrary); | ||
}); |
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.
nice!
[FPTI_KEY.LOCALE]: `${lang}_${country}`, | ||
[FPTI_KEY.CONTEXT_CORRID]: getCorrelationID(), | ||
[FPTI_KEY.DATA_SOURCE]: FPTI_DATA_SOURCE.PAYMENTS_SDK, | ||
[FPTI_KEY.FEED]: FPTI_FEED.PAYMENTS_SDK, |
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.
🔥 (🔤)
Description
Herein lies part of the effort charged by DTPPCPSDK-1482.
Why are we making these changes?
This sends
jsSdkLibrary
to FPTI & SFX for 1st and 2nd render.