mirror of
https://github.com/nasa/openmct.git
synced 2025-02-20 17:33:23 +00:00
[Persistence] Satisfy JSHint
This commit is contained in:
parent
8279acc9a5
commit
f1e81c359e
@ -22,8 +22,6 @@
|
||||
/*global define*/
|
||||
|
||||
define([], function () {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Listens for mutation on domain objects and triggers mutation when
|
||||
* it occurs.
|
||||
|
@ -45,9 +45,6 @@ define(
|
||||
[ 'getCapability', 'useCapability' ]
|
||||
);
|
||||
|
||||
mockDomainObject.getCapability.andCallFake(function (c) {
|
||||
return (c === 'persistence') && mockPersistence;
|
||||
});
|
||||
mockDomainObject.useCapability.andCallFake(function (c, v) {
|
||||
if (c === 'mutation') {
|
||||
testModel = v(testModel) || testModel;
|
||||
|
@ -27,7 +27,6 @@ define(
|
||||
describe("A timer's start action", function () {
|
||||
var mockNow,
|
||||
mockDomainObject,
|
||||
mockPersistence,
|
||||
testModel,
|
||||
testContext,
|
||||
action;
|
||||
|
Loading…
x
Reference in New Issue
Block a user