mirror of
https://github.com/nasa/openmct.git
synced 2025-04-08 20:04:27 +00:00
[Persistence] Fix code style
This commit is contained in:
parent
ecf526aa03
commit
385d90b056
@ -34,7 +34,7 @@ define(
|
||||
beforeEach(function () {
|
||||
mockTopic = jasmine.createSpy('topic');
|
||||
mockMutationTopic =
|
||||
jasmine.createSpyObj('mutation', [ 'listen' ]);
|
||||
jasmine.createSpyObj('mutation', ['listen']);
|
||||
mockTransactionService =
|
||||
jasmine.createSpyObj('transactionService', [
|
||||
'isActive',
|
||||
@ -73,7 +73,7 @@ define(
|
||||
});
|
||||
|
||||
[false, true].forEach(function (isActive) {
|
||||
var verb = isActive ? "is": "isn't";
|
||||
var verb = isActive ? "is" : "isn't";
|
||||
|
||||
function onlyWhenInactive(expectation) {
|
||||
return isActive ? expectation.not : expectation;
|
||||
|
Loading…
x
Reference in New Issue
Block a user