Reformat codebase with trailing commas in functions (#2006)

* style: 💄 Update trailing commas in API

* style: 💄 Update trailing commas in core

* style: 💄 Update trailing commas in rose

* style: 💄 Update trailing commas in admin

* style: 💄 Update trailing commas in desktop
This commit is contained in:
Zhihe Li authored and GitHub committed 2023-11-22 14:07:41 -05:00
1 parent cb3a9e3bdc
commit bcf004b8a4
423 files changed
+1636 -1605

No files matched your search

@@ -12,7 +12,7 @@ module('Unit | Controller | scopes/scope/auth-methods/index', function (hooks) {
// TODO: Replace this with your real tests.
test('it exists', function (assert) {
let controller = this.owner.lookup(
'controller:scopes/scope/auth-methods/index'
'controller:scopes/scope/auth-methods/index',
);
assert.ok(controller);
});
@@ -11,7 +11,7 @@ module('Unit | Controller | scopes/scope/auth-methods/new', function (hooks) {
test('it exists', function (assert) {
let controller = this.owner.lookup(
'controller:scopes/scope/auth-methods/new'
'controller:scopes/scope/auth-methods/new',
);
assert.ok(controller);
});
@@ -14,9 +14,9 @@ module(
// TODO: Replace this with your real tests.
test('it exists', function (assert) {
let controller = this.owner.lookup(
'controller:scopes/scope/authenticate/method/oidc'
'controller:scopes/scope/authenticate/method/oidc',
);
assert.ok(controller);
});
}
},
);
@@ -14,9 +14,9 @@ module(
// TODO: Replace this with your real tests.
test('it exists', function (assert) {
let controller = this.owner.lookup(
'controller:scopes/scope/credential-stores/credential-store/credential-libraries/new'
'controller:scopes/scope/credential-stores/credential-store/credential-libraries/new',
);
assert.ok(controller);
});
}
},
);
@@ -13,9 +13,9 @@ module(
test('it exists', function (assert) {
let controller = this.owner.lookup(
'controller:scopes/scope/credential-stores/credential-store/credentials/new'
'controller:scopes/scope/credential-stores/credential-store/credentials/new',
);
assert.ok(controller);
});
}
},
);
@@ -13,9 +13,9 @@ module(
test('it exists', function (assert) {
let controller = this.owner.lookup(
'controller:scopes/scope/credential-stores/new'
'controller:scopes/scope/credential-stores/new',
);
assert.ok(controller);
});
}
},
);
@@ -13,9 +13,9 @@ module(
test('it exists', function (assert) {
let controller = this.owner.lookup(
'controller:scopes/scope/groups/group/add-members'
'controller:scopes/scope/groups/group/add-members',
);
assert.ok(controller);
});
}
},
);
@@ -12,7 +12,7 @@ module('Unit | Controller | scopes/scope/host-catalogs/new', function (hooks) {
// TODO: Replace this with your real tests.
test('it exists', function (assert) {
let controller = this.owner.lookup(
'controller:scopes/scope/host-catalogs/new'
'controller:scopes/scope/host-catalogs/new',
);
assert.ok(controller);
});
@@ -13,9 +13,9 @@ module(
test('it exists', function (assert) {
let controller = this.owner.lookup(
'controller:scopes/scope/roles/role/add-principals'
'controller:scopes/scope/roles/role/add-principals',
);
assert.ok(controller);
});
}
},
);
@@ -13,9 +13,9 @@ module(
test('it exists', function (assert) {
let controller = this.owner.lookup(
'controller:scopes/scope/session-recordings/index'
'controller:scopes/scope/session-recordings/index',
);
assert.ok(controller);
});
}
},
);
@@ -19,7 +19,7 @@ module(
test('isSessionInprogressWithNoConnections returns true if session has started with no connections', function (assert) {
const store = this.owner.lookup('service:store');
const controller = this.owner.lookup(
'controller:scopes/scope/session-recordings/session-recording/channels-by-connection/index'
'controller:scopes/scope/session-recordings/session-recording/channels-by-connection/index',
);
const sessionRecording = store.createRecord('session-recording', {
@@ -34,7 +34,7 @@ module(
test('isSessionInprogressWithNoConnections returns false if session has started and has connections', function (assert) {
const store = this.owner.lookup('service:store');
const controller = this.owner.lookup(
'controller:scopes/scope/session-recordings/session-recording/channels-by-connection/index'
'controller:scopes/scope/session-recordings/session-recording/channels-by-connection/index',
);
const sessionRecording = store.createRecord('session-recording', {
@@ -49,7 +49,7 @@ module(
test('isSessionInprogressWithNoConnections returns false if session is complete and has connections', function (assert) {
const store = this.owner.lookup('service:store');
const controller = this.owner.lookup(
'controller:scopes/scope/session-recordings/session-recording/channels-by-connection/index'
'controller:scopes/scope/session-recordings/session-recording/channels-by-connection/index',
);
const sessionRecording = store.createRecord('session-recording', {
@@ -64,7 +64,7 @@ module(
test('isSessionUnknownWithNoConnections returns true if session is unknown with no connections', function (assert) {
const store = this.owner.lookup('service:store');
const controller = this.owner.lookup(
'controller:scopes/scope/session-recordings/session-recording/channels-by-connection/index'
'controller:scopes/scope/session-recordings/session-recording/channels-by-connection/index',
);
const sessionRecording = store.createRecord('session-recording', {
@@ -79,7 +79,7 @@ module(
test('isSessionUnknownWithNoConnections returns false if session is unknown and has connections', function (assert) {
const store = this.owner.lookup('service:store');
const controller = this.owner.lookup(
'controller:scopes/scope/session-recordings/session-recording/channels-by-connection/index'
'controller:scopes/scope/session-recordings/session-recording/channels-by-connection/index',
);
const sessionRecording = store.createRecord('session-recording', {
@@ -94,7 +94,7 @@ module(
test('isSessionUnknownWithNoConnections returns false if session is complete and has connections', function (assert) {
const store = this.owner.lookup('service:store');
const controller = this.owner.lookup(
'controller:scopes/scope/session-recordings/session-recording/channels-by-connection/index'
'controller:scopes/scope/session-recordings/session-recording/channels-by-connection/index',
);
const sessionRecording = store.createRecord('session-recording', {
@@ -105,5 +105,5 @@ module(
assert.false(controller.isSessionUnknownWithNoConnections);
});
}
},
);
@@ -13,7 +13,7 @@ module(
test('it exists', function (assert) {
const controller = this.owner.lookup(
'controller:scopes/scope/targets/target/add-brokered-credential-sources'
'controller:scopes/scope/targets/target/add-brokered-credential-sources',
);
assert.ok(controller);
});
@@ -21,7 +21,7 @@ module(
test('hasAvailableBrokeredCredentialSources returns true if target has available credentials', function (assert) {
const store = this.owner.lookup('service:store');
const controller = this.owner.lookup(
'controller:scopes/scope/targets/target/add-brokered-credential-sources'
'controller:scopes/scope/targets/target/add-brokered-credential-sources',
);
const target = store.createRecord('target', {
@@ -39,7 +39,7 @@ module(
test('hasAvailableBrokeredCredentialSources returns false if target has no available credentials', function (assert) {
const store = this.owner.lookup('service:store');
const controller = this.owner.lookup(
'controller:scopes/scope/targets/target/add-brokered-credential-sources'
'controller:scopes/scope/targets/target/add-brokered-credential-sources',
);
const target = store.createRecord('target', {
@@ -53,5 +53,5 @@ module(
assert.false(controller.hasAvailableBrokeredCredentialSources);
});
}
},
);
@@ -13,7 +13,7 @@ module(
test('it exists', function (assert) {
const controller = this.owner.lookup(
'controller:scopes/scope/targets/target/add-injected-application-credential-sources'
'controller:scopes/scope/targets/target/add-injected-application-credential-sources',
);
assert.ok(controller);
});
@@ -21,7 +21,7 @@ module(
test('hasAvailableInjectedApplicationCredentialSources returns true if target has available credentials', function (assert) {
const store = this.owner.lookup('service:store');
const controller = this.owner.lookup(
'controller:scopes/scope/targets/target/add-injected-application-credential-sources'
'controller:scopes/scope/targets/target/add-injected-application-credential-sources',
);
const target = store.createRecord('target', {
@@ -39,7 +39,7 @@ module(
test('hasAvailableInjectedApplicationCredentialSources returns false if target has no available credentials', function (assert) {
const store = this.owner.lookup('service:store');
const controller = this.owner.lookup(
'controller:scopes/scope/targets/target/add-injected-application-credential-sources'
'controller:scopes/scope/targets/target/add-injected-application-credential-sources',
);
const target = store.createRecord('target', {
@@ -53,5 +53,5 @@ module(
assert.false(controller.hasAvailableInjectedApplicationCredentialSources);
});
}
},
);