@@ -75,7 +75,8 @@ describe(NgxsEmitPluginModule.name, () => {
7575
7676 TestBed . configureTestingModule ( {
7777 imports : [ NgxsModule . forRoot ( [ TodosState ] ) , NgxsEmitPluginModule . forRoot ( ) ] ,
78- declarations : [ MockComponent ]
78+ declarations : [ MockComponent ] ,
79+ teardown : { destroyAfterEach : false }
7980 } ) ;
8081
8182 const fixture = TestBed . createComponent ( MockComponent ) ;
@@ -122,7 +123,8 @@ describe(NgxsEmitPluginModule.name, () => {
122123
123124 TestBed . configureTestingModule ( {
124125 imports : [ NgxsModule . forRoot ( [ TodosState ] ) , NgxsEmitPluginModule . forRoot ( ) ] ,
125- declarations : [ MockComponent ]
126+ declarations : [ MockComponent ] ,
127+ teardown : { destroyAfterEach : false }
126128 } ) ;
127129
128130 const store : Store = TestBed . inject ( Store ) ;
@@ -158,7 +160,8 @@ describe(NgxsEmitPluginModule.name, () => {
158160
159161 TestBed . configureTestingModule ( {
160162 imports : [ NgxsModule . forRoot ( [ TodosState ] ) , NgxsEmitPluginModule . forRoot ( ) ] ,
161- declarations : [ MockComponent ]
163+ declarations : [ MockComponent ] ,
164+ teardown : { destroyAfterEach : false }
162165 } ) ;
163166
164167 const store : Store = TestBed . inject ( Store ) ;
@@ -198,7 +201,8 @@ describe(NgxsEmitPluginModule.name, () => {
198201
199202 TestBed . configureTestingModule ( {
200203 imports : [ NgxsModule . forRoot ( [ CounterState ] ) , NgxsEmitPluginModule . forRoot ( ) ] ,
201- declarations : [ MockComponent ]
204+ declarations : [ MockComponent ] ,
205+ teardown : { destroyAfterEach : false }
202206 } ) ;
203207
204208 const store : Store = TestBed . inject ( Store ) ;
@@ -242,7 +246,8 @@ describe(NgxsEmitPluginModule.name, () => {
242246
243247 TestBed . configureTestingModule ( {
244248 imports : [ NgxsModule . forRoot ( [ BarState , Bar2State ] ) , NgxsEmitPluginModule . forRoot ( ) ] ,
245- declarations : [ MockComponent ]
249+ declarations : [ MockComponent ] ,
250+ teardown : { destroyAfterEach : false }
246251 } ) ;
247252
248253 const store : Store = TestBed . inject ( Store ) ;
@@ -270,7 +275,8 @@ describe(NgxsEmitPluginModule.name, () => {
270275 }
271276
272277 TestBed . configureTestingModule ( {
273- imports : [ NgxsModule . forRoot ( [ BarState ] ) , NgxsEmitPluginModule . forRoot ( ) ]
278+ imports : [ NgxsModule . forRoot ( [ BarState ] ) , NgxsEmitPluginModule . forRoot ( ) ] ,
279+ teardown : { destroyAfterEach : false }
274280 } ) ;
275281 } catch ( { message } ) {
276282 expect ( message ) . toBe ( 'Method decorated with such type `foo` already exists' ) ;
@@ -318,7 +324,8 @@ describe(NgxsEmitPluginModule.name, () => {
318324 }
319325
320326 TestBed . configureTestingModule ( {
321- imports : [ NgxsModule . forRoot ( [ BarState ] ) , NgxsEmitPluginModule . forRoot ( ) ]
327+ imports : [ NgxsModule . forRoot ( [ BarState ] ) , NgxsEmitPluginModule . forRoot ( ) ] ,
328+ teardown : { destroyAfterEach : false }
322329 } ) ;
323330
324331 const store : EmitStore = TestBed . inject ( EmitStore ) ;
@@ -383,7 +390,8 @@ describe(NgxsEmitPluginModule.name, () => {
383390 TestBed . configureTestingModule ( {
384391 imports : [ NgxsModule . forRoot ( [ TodosState ] ) , NgxsEmitPluginModule . forRoot ( ) ] ,
385392 declarations : [ MockComponent ] ,
386- providers : [ ApiService ]
393+ providers : [ ApiService ] ,
394+ teardown : { destroyAfterEach : false }
387395 } ) ;
388396
389397 const store : Store = TestBed . inject ( Store ) ;
@@ -418,7 +426,8 @@ describe(NgxsEmitPluginModule.name, () => {
418426
419427 TestBed . configureTestingModule ( {
420428 imports : [ NgxsModule . forRoot ( [ TodosState ] ) , NgxsEmitPluginModule . forRoot ( ) ] ,
421- declarations : [ MockComponent ]
429+ declarations : [ MockComponent ] ,
430+ teardown : { destroyAfterEach : false }
422431 } ) ;
423432
424433 const fixture = TestBed . createComponent ( MockComponent ) ;
@@ -456,7 +465,8 @@ describe(NgxsEmitPluginModule.name, () => {
456465
457466 TestBed . configureTestingModule ( {
458467 imports : [ NgxsModule . forRoot ( [ TodosState ] ) , NgxsEmitPluginModule . forRoot ( ) ] ,
459- declarations : [ MockComponent ]
468+ declarations : [ MockComponent ] ,
469+ teardown : { destroyAfterEach : false }
460470 } ) ;
461471
462472 const store : Store = TestBed . inject ( Store ) ;
@@ -497,7 +507,8 @@ describe(NgxsEmitPluginModule.name, () => {
497507
498508 TestBed . configureTestingModule ( {
499509 imports : [ NgxsModule . forRoot ( [ TodosState ] ) , NgxsEmitPluginModule . forRoot ( ) ] ,
500- declarations : [ MockComponent ]
510+ declarations : [ MockComponent ] ,
511+ teardown : { destroyAfterEach : false }
501512 } ) ;
502513
503514 const fixture = TestBed . createComponent ( MockComponent ) ;
@@ -533,7 +544,8 @@ describe(NgxsEmitPluginModule.name, () => {
533544
534545 TestBed . configureTestingModule ( {
535546 imports : [ NgxsModule . forRoot ( [ AnimalsState ] ) , NgxsEmitPluginModule . forRoot ( ) ] ,
536- declarations : [ MockComponent ]
547+ declarations : [ MockComponent ] ,
548+ teardown : { destroyAfterEach : false }
537549 } ) ;
538550
539551 const fixture = TestBed . createComponent ( MockComponent ) ;
@@ -586,7 +598,8 @@ describe(NgxsEmitPluginModule.name, () => {
586598
587599 TestBed . configureTestingModule ( {
588600 imports : [ NgxsModule . forRoot ( [ CounterState ] ) , NgxsEmitPluginModule . forRoot ( ) ] ,
589- declarations : [ MockComponent ]
601+ declarations : [ MockComponent ] ,
602+ teardown : { destroyAfterEach : false }
590603 } ) ;
591604
592605 const store : Store = TestBed . inject ( Store ) ;
0 commit comments