-
Notifications
You must be signed in to change notification settings - Fork 134
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
✨ [RUMF-534] implement logs.onReady and rum.onReady #564
Conversation
Codecov Report
@@ Coverage Diff @@
## master #564 +/- ##
==========================================
- Coverage 88.26% 88.08% -0.19%
==========================================
Files 39 39
Lines 2275 2282 +7
Branches 476 477 +1
==========================================
+ Hits 2008 2010 +2
- Misses 267 272 +5
Continue to review full report at Codecov.
|
f0c6890
to
7d99925
Compare
test/e2e/lib/framework/pageSetups.ts
Outdated
@@ -31,16 +31,20 @@ export const DEFAULT_SETUPS = [ | |||
export function asyncSetup(options: SetupOptions) { | |||
let body = options.body || '' | |||
|
|||
function formatSnippet(url: string, globalName: string) { | |||
return `(function(r,a,w,l,s) { |
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.
"rawls" is a The Wire reference
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 one but I don't think that the wire references are publicly shared 🙂
what about something dog related instead? hound
would fit 😉
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.
Ok for hound
:)
Motivation
Have a proper way to execute code when the SDK is ready.
Changes
logs.onReady
andrum.onReady
to execute previously stored callbacksTesting
I have gone over the contributing documentation.