add auth
This commit is contained in:
+4
-2
@@ -1,3 +1,4 @@
|
||||
import { provideHttpClient } from '@angular/common/http';
|
||||
import { TestBed } from '@angular/core/testing';
|
||||
import { provideRouter } from '@angular/router';
|
||||
import { provideServiceWorker } from '@angular/service-worker';
|
||||
@@ -5,17 +6,18 @@ import { provideEffects } from '@ngrx/effects';
|
||||
import { provideState, provideStore } from '@ngrx/store';
|
||||
|
||||
import { App } from './app';
|
||||
import { GorodarEffects, gorodarFeature } from './state';
|
||||
import { AuthEffects, GorodarEffects, gorodarFeature } from './state';
|
||||
|
||||
describe('App', () => {
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [App],
|
||||
providers: [
|
||||
provideHttpClient(),
|
||||
provideRouter([]),
|
||||
provideStore(),
|
||||
provideState(gorodarFeature),
|
||||
provideEffects(GorodarEffects),
|
||||
provideEffects(GorodarEffects, AuthEffects),
|
||||
provideServiceWorker('ngsw-worker.js', { enabled: false }),
|
||||
],
|
||||
}).compileComponents();
|
||||
|
||||
Reference in New Issue
Block a user