File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
static/app/gettingStartedDocs/python/python Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,4 @@ describe('logs', () => {
4444 const installSteps = result . install ( ) ;
4545 expect ( installSteps [ 0 ] . content ) . toHaveLength ( 2 ) ;
4646 } ) ;
47-
48- it ( 'generates metrics onboarding config with custom parameters' , ( ) => {
49- const result = logs ( {
50- packageName : 'custom-sentry-sdk' ,
51- minimumVersion : '3.0.0' ,
52- } ) ;
53-
54- const installSteps = result . install ( ) ;
55- expect ( installSteps [ 0 ] . content ) . toHaveLength ( 2 ) ;
56- } ) ;
5747} ) ;
Original file line number Diff line number Diff line change @@ -25,12 +25,22 @@ describe('metrics', () => {
2525 expect ( configureSteps [ 0 ] . content [ 1 ] . code ) . toContain ( mockParams . dsn . public ) ;
2626
2727 // Test verify step
28- const verifySteps = result . verify ( { isLogsSelected : true } ) ;
28+ const verifySteps = result . verify ( { isMetricsSelected : true } ) ;
2929 expect ( verifySteps ) . toHaveLength ( 1 ) ;
3030 expect ( verifySteps [ 0 ] . type ) . toBe ( 'verify' ) ;
3131 expect ( verifySteps [ 0 ] . content ) . toHaveLength ( 1 ) ;
3232 expect ( verifySteps [ 0 ] . content [ 0 ] . type ) . toBe ( 'conditional' ) ;
3333 const conditionalContent = verifySteps [ 0 ] . content [ 0 ] . content ;
3434 expect ( conditionalContent [ 1 ] . code ) . toContain ( 'metrics.count' ) ;
3535 } ) ;
36+
37+ it ( 'generates metrics onboarding config with custom parameters' , ( ) => {
38+ const result = metrics ( {
39+ packageName : 'custom-sentry-sdk' ,
40+ minimumVersion : '3.0.0' ,
41+ } ) ;
42+
43+ const installSteps = result . install ( ) ;
44+ expect ( installSteps [ 0 ] . content ) . toHaveLength ( 2 ) ;
45+ } ) ;
3646} ) ;
You can’t perform that action at this time.
0 commit comments