Skip to content

Commit

Permalink
feat(store): testing - expose MockStore provider (#2331)
Browse files Browse the repository at this point in the history
Closes #2328
  • Loading branch information
alex-okrushko authored and brandonroberts committed Jan 24, 2020
1 parent 9ac1165 commit ef5cd5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/store/testing/src/testing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export function provideMockStore<T = any>(
return [
ActionsSubject,
MockState,
MockStore,
{ provide: INITIAL_STATE, useValue: config.initialState || {} },
{ provide: MOCK_SELECTORS, useValue: config.selectors },
{ provide: StateObservable, useClass: MockState },
Expand Down

0 comments on commit ef5cd5f

Please sign in to comment.