mirror of
https://github.com/nasa/openmct.git
synced 2025-04-08 11:54:25 +00:00
[Style] Remove unnecessary comments
This commit is contained in:
parent
e45a686c5a
commit
c7e26a231a
@ -82,18 +82,15 @@ define([
|
||||
expect(telemetryProvider.subscribe)
|
||||
.toHaveBeenCalledWith(domainObject, jasmine.any(Function));
|
||||
|
||||
// can notify values
|
||||
var notify = telemetryProvider.subscribe.mostRecentCall.args[1];
|
||||
notify('someValue');
|
||||
expect(callback).toHaveBeenCalledWith('someValue');
|
||||
|
||||
// unsubscribes
|
||||
expect(unsubscribe).toEqual(jasmine.any(Function));
|
||||
expect(unsubFunc).not.toHaveBeenCalled();
|
||||
unsubscribe();
|
||||
expect(unsubFunc).toHaveBeenCalled();
|
||||
|
||||
// doesn't notify after unsubscribe
|
||||
notify('otherValue');
|
||||
expect(callback).not.toHaveBeenCalledWith('otherValue');
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user