@ngrx/store: The feature name "auth" does not exist in the state
vuvgaG opened this issue · 0 comments
vuvgaG commented
nx run conduit:test [existing outputs match the cache, left as is]
PASS conduit apps/conduit/src/app/layout/footer/footer.component.spec.ts
PASS conduit apps/conduit/src/app/layout/navbar/navbar.component.spec.ts
PASS conduit apps/conduit/src/app/app.component.spec.ts
● Console
console.warn
@ngrx/store: The feature name "auth" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('auth', ...) or StoreModule.forFeature('auth', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.
at ../../modules/store/src/selector.ts:755:17
at ../../modules/store/src/selector.ts:574:64
at Array.map (<anonymous>)
at defaultStateFn (../../modules/store/src/selector.ts:574:52)
at ../../modules/store/src/selector.ts:718:30
at memoized (../../modules/store/src/selector.ts:101:33)
at ../../modules/store/src/selector.ts:574:64
at Array.map (<anonymous>)
Test Suites: 3 passed, 3 total
Tests: 3 passed, 3 total
Snapshots: 0 total
Time: 6.461 s
Ran all test suites.