diff --git a/addons/rose/addon/components/rose/dropdown.js b/addons/rose/addon/components/rose/dropdown.js index 76723d8bf..07e9ba14b 100644 --- a/addons/rose/addon/components/rose/dropdown.js +++ b/addons/rose/addon/components/rose/dropdown.js @@ -3,7 +3,6 @@ import layout from '../../templates/components/rose/dropdown'; import { action } from '@ember/object'; export default Component.extend({ - // =attributes layout, @@ -22,5 +21,4 @@ export default Component.extend({ close(element) { if (element.open) element.open = false; }, - }); diff --git a/addons/rose/app/components/rose/badge.js b/addons/rose/app/components/rose/badge.js index a9f224c09..6a69f03c6 100644 --- a/addons/rose/app/components/rose/badge.js +++ b/addons/rose/app/components/rose/badge.js @@ -1 +1 @@ -export { default } from 'rose/components/rose/badge'; \ No newline at end of file +export { default } from 'rose/components/rose/badge'; diff --git a/addons/rose/app/components/rose/dropdown.js b/addons/rose/app/components/rose/dropdown.js index f51c98374..a0154aec2 100644 --- a/addons/rose/app/components/rose/dropdown.js +++ b/addons/rose/app/components/rose/dropdown.js @@ -1 +1 @@ -export { default } from 'rose/components/rose/dropdown'; \ No newline at end of file +export { default } from 'rose/components/rose/dropdown'; diff --git a/addons/rose/app/components/rose/layout/sidebar.js b/addons/rose/app/components/rose/layout/sidebar.js index f078ea1c6..47c59c143 100644 --- a/addons/rose/app/components/rose/layout/sidebar.js +++ b/addons/rose/app/components/rose/layout/sidebar.js @@ -1 +1 @@ -export { default } from 'rose/components/rose/layout/sidebar'; \ No newline at end of file +export { default } from 'rose/components/rose/layout/sidebar'; diff --git a/addons/rose/tests/integration/components/rose/badge-test.js b/addons/rose/tests/integration/components/rose/badge-test.js index 16e968e69..8665085e7 100644 --- a/addons/rose/tests/integration/components/rose/badge-test.js +++ b/addons/rose/tests/integration/components/rose/badge-test.js @@ -3,25 +3,25 @@ import { setupRenderingTest } from 'ember-qunit'; import { render, find } from '@ember/test-helpers'; import hbs from 'htmlbars-inline-precompile'; -module('Integration | Component | rose/badge', function(hooks) { +module('Integration | Component | rose/badge', function (hooks) { setupRenderingTest(hooks); - test('it renders', async function(assert) { + test('it renders', async function (assert) { await render(hbs``); assert.ok(find('.rose-badge')); }); - test('it renders with content', async function(assert) { + test('it renders with content', async function (assert) { await render(hbs`host-catalog-1`); assert.equal(find('.rose-badge').textContent.trim(), 'host-catalog-1'); }); - test('it renders an icon using @icon', async function(assert) { + test('it renders an icon using @icon', async function (assert) { await render(hbs``); assert.ok(find('.rose-icon')); }); - test('it styles content using @style', async function(assert) { + test('it styles content using @style', async function (assert) { let styles = [ 'outline', 'dark', @@ -36,7 +36,7 @@ module('Integration | Component | rose/badge', function(hooks) { 'success', 'success-outline', 'warning', - 'warning-outline' + 'warning-outline', ]; await render(hbs``); diff --git a/addons/rose/tests/integration/components/rose/dropdown-test.js b/addons/rose/tests/integration/components/rose/dropdown-test.js index 1b4e0240a..4d9ce49d0 100644 --- a/addons/rose/tests/integration/components/rose/dropdown-test.js +++ b/addons/rose/tests/integration/components/rose/dropdown-test.js @@ -12,19 +12,14 @@ module('Integration | Component | rose/dropdown', function (hooks) { }); test('it renders with html attributes', async function (assert) { - await render( - hbs`` - ); + await render(hbs``); assert.ok(find('#custom-id')); assert.ok(find('.custom-class')); }); test('it renders with trigger', async function (assert) { await render(hbs``); - assert.equal( - find('.rose-dropdown-trigger').textContent.trim(), - 'Click me' - ); + assert.equal(find('.rose-dropdown-trigger').textContent.trim(), 'Click me'); }); test('it supports an icon', async function (assert) { diff --git a/addons/rose/tests/integration/components/rose/layout/sidebar-test.js b/addons/rose/tests/integration/components/rose/layout/sidebar-test.js index 727710ca1..a186775a5 100644 --- a/addons/rose/tests/integration/components/rose/layout/sidebar-test.js +++ b/addons/rose/tests/integration/components/rose/layout/sidebar-test.js @@ -3,7 +3,7 @@ import { setupRenderingTest } from 'ember-qunit'; import { render, find } from '@ember/test-helpers'; import hbs from 'htmlbars-inline-precompile'; -module('Integration | Component | rose/layout/sidebar', function(hooks) { +module('Integration | Component | rose/layout/sidebar', function (hooks) { setupRenderingTest(hooks); test('it renders', async function (assert) { diff --git a/addons/rose/tests/integration/components/rose/link-button-test.js b/addons/rose/tests/integration/components/rose/link-button-test.js index 617f76ed0..ac2be94aa 100644 --- a/addons/rose/tests/integration/components/rose/link-button-test.js +++ b/addons/rose/tests/integration/components/rose/link-button-test.js @@ -19,7 +19,9 @@ module('Integration | Component | rose/link-button', function (hooks) { }); test('it renders with content', async function (assert) { - await render(hbs`Link button content`); + await render( + hbs`Link button content` + ); assert.ok( find('.rose-link-button').textContent.trim(), 'Link button content' @@ -32,19 +34,25 @@ module('Integration | Component | rose/link-button', function (hooks) { }); test('it supports left icon with @iconLeft', async function (assert) { - await render(hbs``); + await render( + hbs`` + ); assert.ok(find('.rose-icon')); assert.ok(find('.has-icon-left')); }); test('it supports left icon with @iconRight', async function (assert) { - await render(hbs``); + await render( + hbs`` + ); assert.ok(find('.rose-icon')); assert.ok(find('.has-icon-right')); }); test('it supports only icon with @iconOnly', async function (assert) { - await render(hbs``); + await render( + hbs`` + ); assert.ok(find('.rose-icon')); assert.ok(find('.has-icon-only')); });