mirror of
https://github.com/nasa/openmct.git
synced 2025-06-04 16:40:53 +00:00
[Task] Remove TODOS
This commit is contained in:
parent
9123078293
commit
1525657ac2
@ -18,8 +18,6 @@ define(
|
|||||||
'dialogService',
|
'dialogService',
|
||||||
['getUserInput']
|
['getUserInput']
|
||||||
);
|
);
|
||||||
// TODO: replace the dialogServicePromise with a deferred and
|
|
||||||
// get rid of chainedPromise.
|
|
||||||
dialogServicePromise = jasmine.createSpyObj(
|
dialogServicePromise = jasmine.createSpyObj(
|
||||||
'dialogServicePromise',
|
'dialogServicePromise',
|
||||||
['then']
|
['then']
|
||||||
@ -72,8 +70,6 @@ define(
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("returns a promise", function () {
|
it("returns a promise", function () {
|
||||||
// This test is testing that chainedPromise is returned.
|
|
||||||
// TODO: have better assumptions with deferred objects.
|
|
||||||
expect(locationResult.then).toBeDefined();
|
expect(locationResult.then).toBeDefined();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -45,7 +45,6 @@ define(
|
|||||||
callExtensions,
|
callExtensions,
|
||||||
spy;
|
spy;
|
||||||
|
|
||||||
// TODO: return a proper deferred to support composing.
|
|
||||||
performPromise = jasmine.createSpyObj(
|
performPromise = jasmine.createSpyObj(
|
||||||
'performPromise',
|
'performPromise',
|
||||||
['then']
|
['then']
|
||||||
|
@ -45,7 +45,6 @@ define(
|
|||||||
callExtensions,
|
callExtensions,
|
||||||
spy;
|
spy;
|
||||||
|
|
||||||
// TODO: return a proper deferred to support composing.
|
|
||||||
performPromise = jasmine.createSpyObj(
|
performPromise = jasmine.createSpyObj(
|
||||||
'performPromise',
|
'performPromise',
|
||||||
['then']
|
['then']
|
||||||
|
@ -45,7 +45,6 @@ define(
|
|||||||
callExtensions,
|
callExtensions,
|
||||||
spy;
|
spy;
|
||||||
|
|
||||||
// TODO: return a proper deferred to support composing.
|
|
||||||
performPromise = jasmine.createSpyObj(
|
performPromise = jasmine.createSpyObj(
|
||||||
'performPromise',
|
'performPromise',
|
||||||
['then']
|
['then']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user