This commit is contained in:
2026-10-07 12:10:12 +03:00
parent e384bc4872
commit e676717ffb
28 changed files with 722 additions and 236 deletions
+4 -2
View File
@@ -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();