@@ -189,29 +189,6 @@ describe('getIntegrationsToSetup', () => {
189
189
} ) ;
190
190
} ) ;
191
191
192
- describe ( 'puts `Debug` integration last' , ( ) => {
193
- // No variations here (default vs user, duplicates, user array vs user function, etc) because by the time we're
194
- // dealing with the `Debug` integration, all of the combining and deduping has already been done
195
- const noDebug = [ new MockIntegration ( 'ChaseSquirrels' ) ] ;
196
- const debugNotLast = [ new MockIntegration ( 'Debug' ) , new MockIntegration ( 'CatchTreats' ) ] ;
197
- const debugAlreadyLast = [ new MockIntegration ( 'ChaseSquirrels' ) , new MockIntegration ( 'Debug' ) ] ;
198
-
199
- const testCases : TestCase [ ] = [
200
- // each test case is [testName, defaultIntegrations, userIntegrations, expectedResult]
201
- [ '`Debug` not present' , false , noDebug , [ 'ChaseSquirrels' ] ] ,
202
- [ '`Debug` not originally last' , false , debugNotLast , [ 'CatchTreats' , 'Debug' ] ] ,
203
- [ '`Debug` already last' , false , debugAlreadyLast , [ 'ChaseSquirrels' , 'Debug' ] ] ,
204
- ] ;
205
-
206
- test . each ( testCases ) ( '%s' , ( _ , defaultIntegrations , userIntegrations , expected ) => {
207
- const integrations = getIntegrationsToSetup ( {
208
- defaultIntegrations,
209
- integrations : userIntegrations ,
210
- } ) ;
211
- expect ( integrations . map ( i => i . name ) ) . toEqual ( expected ) ;
212
- } ) ;
213
- } ) ;
214
-
215
192
it ( 'works with empty array' , ( ) => {
216
193
const integrations = getIntegrationsToSetup ( {
217
194
integrations : [ ] ,
0 commit comments