Skip to content

Commit

Permalink
feat(store): removing the test
Browse files Browse the repository at this point in the history
Closes ngrx#2363
  • Loading branch information
evgenyfedorenko committed Mar 4, 2020
1 parent 86b8a2a commit ea6a05c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions modules/store/spec/selector.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -512,20 +512,6 @@ describe('Selectors', () => {
expect(warnSpy).not.toHaveBeenCalled();
});
});

describe('should log when: ', () => {
it('feature key does not exist', () => {
spyOn(ngCore, 'isDevMode').and.returnValue(true);
const selector = createFeatureSelector('featureB');

selector({ featureA: {} });

expect(warnSpy).toHaveBeenCalled();
expect(warnSpy.calls.mostRecent().args[0]).toMatch(
/The feature name "featureB" does not exist/
);
});
});
});
});

Expand Down

0 comments on commit ea6a05c

Please sign in to comment.