Fix JS linting errors

This commit is contained in:
2020-10-31 13:30:44 +01:00
parent b58870a03c
commit 087cb706d2
3 changed files with 28 additions and 29 deletions
-1
View File
@@ -1,6 +1,5 @@
import EmberObject, { computed } from '@ember/object'; import EmberObject, { computed } from '@ember/object';
import moment from 'moment'; import moment from 'moment';
import { notEmpty } from '@ember/object/computed';
import { isPresent } from '@ember/utils'; import { isPresent } from '@ember/utils';
export default EmberObject.extend({ export default EmberObject.extend({
@@ -1,15 +1,15 @@
import { module, test } from 'qunit'; // import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit'; // import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers'; // import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars'; // import { hbs } from 'ember-cli-htmlbars';
//
module('Integration | Component | add-expense-item', function(hooks) { // module('Integration | Component | add-expense-item', function(hooks) {
setupRenderingTest(hooks); // setupRenderingTest(hooks);
//
// test('it renders', async function(assert) { // test('it renders', async function(assert) {
// Set any properties with this.set('myProperty', 'value'); // Set any properties with this.set('myProperty', 'value');
// Handle any actions with this.set('myAction', function(val) { ... }); // Handle any actions with this.set('myAction', function(val) { ... });
// await render(hbs`<AddExpenseItem />`); // await render(hbs`<AddExpenseItem />`);
// assert.equal(this.element.textContent.trim(), ''); // assert.equal(this.element.textContent.trim(), '');
// }); // });
}); // });
@@ -1,13 +1,13 @@
import { module, test } from 'qunit'; // import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit'; // import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers'; // import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars'; // import { hbs } from 'ember-cli-htmlbars';
//
module('Integration | Component | budget-balances', function(hooks) { // module('Integration | Component | budget-balances', function(hooks) {
setupRenderingTest(hooks); // setupRenderingTest(hooks);
//
// test('it renders', async function(assert) { // test('it renders', async function(assert) {
// await render(hbs`<BudgetBalances />`); // await render(hbs`<BudgetBalances />`);
// assert.equal(this.element.textContent.trim(), ''); // assert.equal(this.element.textContent.trim(), '');
// }); // });
}); // });