mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Eslint prefer-const (#17864)
* adds prefer-const to eslint config and runs fixer * reverts unintended change
This commit is contained in:
@@ -13,7 +13,7 @@ module('Integration | Component | radial progress', function (hooks) {
|
||||
test('it renders', async function (assert) {
|
||||
// We have to manually round the circumference, strokeDash, and strokeDashOffset because
|
||||
// ie11 truncates decimals differently than other browsers.
|
||||
let circumference = ((19 / 2) * Math.PI * 2).toFixed(2);
|
||||
const circumference = ((19 / 2) * Math.PI * 2).toFixed(2);
|
||||
await render(hbs`{{radial-progress progressDecimal=0.5}}`);
|
||||
|
||||
assert.strictEqual(component.viewBox, '0 0 20 20');
|
||||
|
||||
Reference in New Issue
Block a user