File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -120,10 +120,27 @@ export function buildApi(
120
120
}
121
121
}
122
122
} ;
123
+ if ( process . env . VSC_PYTHON_CI_TEST === '1' ) {
124
+ // tslint:disable: no-console
125
+ console . log ( 'CI_TEST is set' ) ;
126
+ } else {
127
+ console . log ( 'CI_TEST is not set' ) ;
128
+ }
129
+
130
+ console . log ( 'Setting serviceContainer for ya 1' ) ;
131
+ if ( serviceContainer ) {
132
+ console . log ( 'SERVICECONTAINER IS DEFINED 1' ) ;
133
+ }
134
+ // tslint:disable:no-any
135
+ ( api as any ) . serviceContainer = serviceContainer ;
136
+ ( api as any ) . serviceManager = serviceManager ;
123
137
124
138
// In test environment return the DI Container.
125
139
if ( isTestExecution ( ) ) {
126
- // tslint:disable:no-any
140
+ console . log ( 'Setting serviceContainer for ya 2' ) ;
141
+ if ( serviceContainer ) {
142
+ console . log ( 'SERVICECONTAINER IS DEFINED 2' ) ;
143
+ }
127
144
( api as any ) . serviceContainer = serviceContainer ;
128
145
( api as any ) . serviceManager = serviceManager ;
129
146
// tslint:enable:no-any
You can’t perform that action at this time.
0 commit comments