File tree Expand file tree Collapse file tree 2 files changed +2
-39
lines changed
dev-packages/browser-integration-tests/suites/integrations/featureFlags/launchdarkly Expand file tree Collapse file tree 2 files changed +2
-39
lines changed Original file line number Diff line number Diff line change 1
1
import * as Sentry from '@sentry/browser' ;
2
- import { launchDarklyIntegration , buildLaunchDarklyFlagUsedHandler } from '@sentry/browser' ;
3
2
4
3
window . Sentry = Sentry ;
5
- window . sentryLDIntegration = launchDarklyIntegration ( ) ;
4
+ window . sentryLDIntegration = Sentry . launchDarklyIntegration ( ) ;
6
5
7
6
Sentry . init ( {
8
7
dsn :
'https://[email protected] /1337' ,
@@ -31,6 +30,6 @@ window.initializeLD = () => {
31
30
return MockLaunchDarkly . initialize (
32
31
'example-client-id' ,
33
32
{ kind : 'user' , key : 'example-context-key' } ,
34
- { inspectors : [ buildLaunchDarklyFlagUsedHandler ( ) ] } ,
33
+ { inspectors : [ Sentry . buildLaunchDarklyFlagUsedHandler ( ) ] } ,
35
34
) ;
36
35
} ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments