mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-26 09:51:48 -05:00
Feedback from PR
specifically the scope that is used for attaching event listeners for the $emit/$braodcast/$on that is used for routing socket messages. Also removing some commented out code
This commit is contained in:
@@ -22,7 +22,6 @@ describe('Service: SocketService', () => {
|
||||
it('should send to ws-jobs-summary', function(){
|
||||
event = {data : {group_name: "jobs"}};
|
||||
event.data = JSON.stringify(event.data);
|
||||
console.log(event);
|
||||
SocketService.onMessage(event);
|
||||
expect(rootScope.$emit).toHaveBeenCalledWith('ws-jobs-summary', event.data);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user