This commit is contained in:
Denys Vuika
2018-07-23 13:02:32 +01:00
parent 7509095d20
commit 2441dadc84

View File

@@ -134,11 +134,11 @@ describe('ExtensionService', () => {
});
});
it('should not use store if action is missing', () => {
it('should still invoke store if action is missing', () => {
spyOn(store, 'dispatch').and.stub();
extensions.runActionById('missing');
expect(store.dispatch).not.toHaveBeenCalled();
expect(store.dispatch).toHaveBeenCalled();
});
});