@@ -63,7 +63,7 @@ it('warns when maxPendingEvents is not a number', () => {
6363
6464 expect ( outOptions . maxPendingEvents ) . toEqual ( defaultOptions ( ) . maxPendingEvents ) ;
6565 expect ( mockLogger . warn ) . toHaveBeenCalledWith (
66- 'Config option "maxPendingEvents" should be of type number, got string, using default value' ,
66+ 'LaunchDarkly - Browser Telemetry: Config option "maxPendingEvents" should be of type number, got string, using default value' ,
6767 ) ;
6868} ) ;
6969
@@ -90,7 +90,7 @@ it('warns when breadcrumbs config is not an object', () => {
9090
9191 expect ( outOptions . breadcrumbs ) . toEqual ( defaultOptions ( ) . breadcrumbs ) ;
9292 expect ( mockLogger . warn ) . toHaveBeenCalledWith (
93- 'Config option "breadcrumbs" should be of type object, got string, using default value' ,
93+ 'LaunchDarkly - Browser Telemetry: Config option "breadcrumbs" should be of type object, got string, using default value' ,
9494 ) ;
9595} ) ;
9696
@@ -105,7 +105,7 @@ it('warns when collectors is not an array', () => {
105105
106106 expect ( outOptions . collectors ) . toEqual ( defaultOptions ( ) . collectors ) ;
107107 expect ( mockLogger . warn ) . toHaveBeenCalledWith (
108- 'Config option "collectors" should be of type Collector[], got string, using default value' ,
108+ 'LaunchDarkly - Browser Telemetry: Config option "collectors" should be of type Collector[], got string, using default value' ,
109109 ) ;
110110} ) ;
111111
@@ -133,7 +133,7 @@ it('warns when stack config is not an object', () => {
133133
134134 expect ( outOptions . stack ) . toEqual ( defaultOptions ( ) . stack ) ;
135135 expect ( mockLogger . warn ) . toHaveBeenCalledWith (
136- 'Config option "stack" should be of type object, got string, using default value' ,
136+ 'LaunchDarkly - Browser Telemetry: Config option "stack" should be of type object, got string, using default value' ,
137137 ) ;
138138} ) ;
139139
@@ -152,7 +152,7 @@ it('warns when breadcrumbs.maxBreadcrumbs is not a number', () => {
152152 defaultOptions ( ) . breadcrumbs . maxBreadcrumbs ,
153153 ) ;
154154 expect ( mockLogger . warn ) . toHaveBeenCalledWith (
155- 'Config option "breadcrumbs.maxBreadcrumbs" should be of type number, got string, using default value' ,
155+ 'LaunchDarkly - Browser Telemetry: Config option "breadcrumbs.maxBreadcrumbs" should be of type number, got string, using default value' ,
156156 ) ;
157157} ) ;
158158
@@ -183,7 +183,7 @@ it('warns when breadcrumbs.click is not boolean', () => {
183183
184184 expect ( outOptions . breadcrumbs . click ) . toEqual ( defaultOptions ( ) . breadcrumbs . click ) ;
185185 expect ( mockLogger . warn ) . toHaveBeenCalledWith (
186- 'Config option "breadcrumbs.click" should be of type boolean, got string, using default value' ,
186+ 'LaunchDarkly - Browser Telemetry: Config option "breadcrumbs.click" should be of type boolean, got string, using default value' ,
187187 ) ;
188188} ) ;
189189
@@ -200,7 +200,7 @@ it('warns when breadcrumbs.evaluations is not boolean', () => {
200200
201201 expect ( outOptions . breadcrumbs . evaluations ) . toEqual ( defaultOptions ( ) . breadcrumbs . evaluations ) ;
202202 expect ( mockLogger . warn ) . toHaveBeenCalledWith (
203- 'Config option "breadcrumbs.evaluations" should be of type boolean, got string, using default value' ,
203+ 'LaunchDarkly - Browser Telemetry: Config option "breadcrumbs.evaluations" should be of type boolean, got string, using default value' ,
204204 ) ;
205205} ) ;
206206
@@ -217,7 +217,7 @@ it('warns when breadcrumbs.flagChange is not boolean', () => {
217217
218218 expect ( outOptions . breadcrumbs . flagChange ) . toEqual ( defaultOptions ( ) . breadcrumbs . flagChange ) ;
219219 expect ( mockLogger . warn ) . toHaveBeenCalledWith (
220- 'Config option "breadcrumbs.flagChange" should be of type boolean, got string, using default value' ,
220+ 'LaunchDarkly - Browser Telemetry: Config option "breadcrumbs.flagChange" should be of type boolean, got string, using default value' ,
221221 ) ;
222222} ) ;
223223
@@ -234,7 +234,7 @@ it('warns when breadcrumbs.keyboardInput is not boolean', () => {
234234
235235 expect ( outOptions . breadcrumbs . keyboardInput ) . toEqual ( defaultOptions ( ) . breadcrumbs . keyboardInput ) ;
236236 expect ( mockLogger . warn ) . toHaveBeenCalledWith (
237- 'Config option "breadcrumbs.keyboardInput" should be of type boolean, got string, using default value' ,
237+ 'LaunchDarkly - Browser Telemetry: Config option "breadcrumbs.keyboardInput" should be of type boolean, got string, using default value' ,
238238 ) ;
239239} ) ;
240240
@@ -307,7 +307,7 @@ it('warns when breadcrumbs.http is not an object', () => {
307307
308308 expect ( outOptions . breadcrumbs . http ) . toEqual ( defaultOptions ( ) . breadcrumbs . http ) ;
309309 expect ( mockLogger . warn ) . toHaveBeenCalledWith (
310- 'Config option "breadcrumbs.http" should be of type HttpBreadCrumbOptions | false, got string, using default value' ,
310+ 'LaunchDarkly - Browser Telemetry: Config option "breadcrumbs.http" should be of type HttpBreadCrumbOptions | false, got string, using default value' ,
311311 ) ;
312312} ) ;
313313
@@ -328,7 +328,7 @@ it('warns when breadcrumbs.http.instrumentFetch is not boolean', () => {
328328 defaultOptions ( ) . breadcrumbs . http . instrumentFetch ,
329329 ) ;
330330 expect ( mockLogger . warn ) . toHaveBeenCalledWith (
331- 'Config option "breadcrumbs.http.instrumentFetch" should be of type boolean, got string, using default value' ,
331+ 'LaunchDarkly - Browser Telemetry: Config option "breadcrumbs.http.instrumentFetch" should be of type boolean, got string, using default value' ,
332332 ) ;
333333} ) ;
334334
@@ -349,7 +349,7 @@ it('warns when breadcrumbs.http.instrumentXhr is not boolean', () => {
349349 defaultOptions ( ) . breadcrumbs . http . instrumentXhr ,
350350 ) ;
351351 expect ( mockLogger . warn ) . toHaveBeenCalledWith (
352- 'Config option "breadcrumbs.http.instrumentXhr" should be of type boolean, got string, using default value' ,
352+ 'LaunchDarkly - Browser Telemetry: Config option "breadcrumbs.http.instrumentXhr" should be of type boolean, got string, using default value' ,
353353 ) ;
354354} ) ;
355355
@@ -419,7 +419,7 @@ it('warns when breadcrumbs.http.customUrlFilter is not a function', () => {
419419
420420 expect ( outOptions . breadcrumbs . http . customUrlFilter ) . toBeUndefined ( ) ;
421421 expect ( mockLogger . warn ) . toHaveBeenCalledWith (
422- 'The "breadcrumbs.http.customUrlFilter" must be a function. Received string' ,
422+ 'LaunchDarkly - Browser Telemetry: The "breadcrumbs.http.customUrlFilter" must be a function. Received string' ,
423423 ) ;
424424} ) ;
425425
@@ -435,6 +435,6 @@ it('warns when filters is not an array', () => {
435435 ) ;
436436 expect ( outOptions . breadcrumbs . filters ) . toEqual ( [ ] ) ;
437437 expect ( mockLogger . warn ) . toHaveBeenCalledWith (
438- 'Config option "breadcrumbs.filters" should be of type array, got string, using default value' ,
438+ 'LaunchDarkly - Browser Telemetry: Config option "breadcrumbs.filters" should be of type array, got string, using default value' ,
439439 ) ;
440440} ) ;
0 commit comments