Run codemods
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { module, test } from 'qunit';
|
||||
import { setupRenderingTest } from 'ember-qunit';
|
||||
import { render, find } from '@ember/test-helpers';
|
||||
import { render } from '@ember/test-helpers';
|
||||
import hbs from 'htmlbars-inline-precompile';
|
||||
|
||||
module('Integration | Component | add proposal', function(hooks) {
|
||||
@@ -13,6 +13,6 @@ module('Integration | Component | add proposal', function(hooks) {
|
||||
|
||||
await render(hbs`{{add-proposal}}`);
|
||||
|
||||
assert.equal(find('.actions a').textContent.trim(), 'Back');
|
||||
assert.dom('.actions a').hasText('Back');
|
||||
});
|
||||
});
|
||||
|
||||
@@ -24,6 +24,6 @@ module('Integration | Component | chart-contributions-by-type', function(hooks)
|
||||
|
||||
await render(hbs`{{chart-contributions-by-type contributions=proposals}}`);
|
||||
|
||||
assert.equal(this.element.textContent.trim(), '');
|
||||
assert.dom(this.element).hasText('');
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { module, test } from 'qunit';
|
||||
import { setupRenderingTest } from 'ember-qunit';
|
||||
import { render, find } from '@ember/test-helpers';
|
||||
import { render } from '@ember/test-helpers';
|
||||
import hbs from 'htmlbars-inline-precompile';
|
||||
|
||||
module('Integration | Component | contributor list', function(hooks) {
|
||||
@@ -13,6 +13,6 @@ module('Integration | Component | contributor list', function(hooks) {
|
||||
|
||||
await render(hbs`{{contributor-list}}`);
|
||||
|
||||
assert.equal(find('*').textContent.trim(), '');
|
||||
assert.dom('*').hasText('');
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { module, test } from 'qunit';
|
||||
import { setupRenderingTest } from 'ember-qunit';
|
||||
import { render, find } from '@ember/test-helpers';
|
||||
import { render } from '@ember/test-helpers';
|
||||
import hbs from 'htmlbars-inline-precompile';
|
||||
|
||||
module('Integration | Component | loading spinner', function(hooks) {
|
||||
@@ -13,6 +13,6 @@ module('Integration | Component | loading spinner', function(hooks) {
|
||||
|
||||
await render(hbs`{{loading-spinner}}`);
|
||||
|
||||
assert.equal(find('*').textContent.trim(), 'Loading data from Ethereum...');
|
||||
assert.dom('*').hasText('Loading data from Ethereum...');
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { module, test } from 'qunit';
|
||||
import { setupRenderingTest } from 'ember-qunit';
|
||||
import { render, find } from '@ember/test-helpers';
|
||||
import { render } from '@ember/test-helpers';
|
||||
import hbs from 'htmlbars-inline-precompile';
|
||||
|
||||
module('Integration | Component | proposal list', function(hooks) {
|
||||
@@ -13,6 +13,6 @@ module('Integration | Component | proposal list', function(hooks) {
|
||||
|
||||
await render(hbs`{{proposal-list}}`);
|
||||
|
||||
assert.equal(find('*').textContent.trim(), '');
|
||||
assert.dom('*').hasText('');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user