mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
fix test
This commit is contained in:
@@ -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();
|
spyOn(store, 'dispatch').and.stub();
|
||||||
|
|
||||||
extensions.runActionById('missing');
|
extensions.runActionById('missing');
|
||||||
expect(store.dispatch).not.toHaveBeenCalled();
|
expect(store.dispatch).toHaveBeenCalled();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user