mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 02:57:59 +00:00
Eslint prefer-const (#17864)
* adds prefer-const to eslint config and runs fixer * reverts unintended change
This commit is contained in:
@@ -38,7 +38,7 @@ module('Integration | Component | replication actions', function (hooks) {
|
||||
});
|
||||
});
|
||||
const confirmInput = (confirmText) => fillIn('[data-test-confirmation-modal-input]', confirmText);
|
||||
let testCases = [
|
||||
const testCases = [
|
||||
[
|
||||
'dr',
|
||||
'primary',
|
||||
@@ -127,7 +127,7 @@ module('Integration | Component | replication actions', function (hooks) {
|
||||
],
|
||||
];
|
||||
|
||||
for (let [
|
||||
for (const [
|
||||
replicationMode,
|
||||
clusterMode,
|
||||
action,
|
||||
@@ -176,7 +176,7 @@ module('Integration | Component | replication actions', function (hooks) {
|
||||
`
|
||||
);
|
||||
|
||||
let selector = oldVersion ? 'h4' : `[data-test-${action}-replication] h4`;
|
||||
const selector = oldVersion ? 'h4' : `[data-test-${action}-replication] h4`;
|
||||
assert
|
||||
.dom(selector)
|
||||
.hasText(headerText, `${testKey}: renders the correct component header (${oldVersion})`);
|
||||
|
||||
Reference in New Issue
Block a user