Skip to content

Commit

Permalink
fixing merge issue #544
Browse files Browse the repository at this point in the history
  • Loading branch information
rupeshtiwari committed Nov 13, 2017
1 parent 2ba38f4 commit 0906638
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/router-store/spec/integration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -590,4 +590,4 @@ function logOfRouterAndStore(router: Router, store: Store<any>): any[] {
);
store.subscribe(store => log.push({ type: 'store', state: store.reducer }));
return log;
}
}
3 changes: 1 addition & 2 deletions modules/store-devtools/spec/config.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('StoreDevtoolsOptions', () => {
options.name = 'my instance';
expect(options.name).toBe('my instance');
});

it('can be initialized with actionSanitizer', () => {
const options = new StoreDevtoolsConfig();
function sanitizer(action: Action, id: number): Action {
Expand All @@ -24,5 +24,4 @@ describe('StoreDevtoolsOptions', () => {
options.actionSanitizer = stateSanitizer;
expect(options.actionSanitizer).toEqual(stateSanitizer);
});

});
2 changes: 0 additions & 2 deletions modules/store-devtools/src/instrument.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ export function noMonitor(): null {
return null;
}


export function noActionSanitizer(): null {
return null;
}
Expand All @@ -77,7 +76,6 @@ export function noStateSanitizer(): null {

export const DEFAULT_NAME = 'NgRx Store DevTools';


export function createConfig(
_options: StoreDevtoolsOptions
): StoreDevtoolsConfig {
Expand Down

0 comments on commit 0906638

Please sign in to comment.