diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97a6c9e0b2..6e9b6c149f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -192,7 +192,7 @@ jobs: echo "pnpm: $( pnpm --version )" - name: Test - run: pnpm run test:ember --path ./dist/ + run: pnpm run test:ember -- --path ./dist/ working-directory: ${{ env.app }} env: CI_BROWSER: ${{ matrix.ci_browser }} diff --git a/frontend/app/components/external-link.gts b/frontend/app/components/external-link.gts index 35870e4253..02587d705c 100644 --- a/frontend/app/components/external-link.gts +++ b/frontend/app/components/external-link.gts @@ -1,4 +1,4 @@ -import FaIcon from '@fortawesome/ember-fontawesome/components/fa-icon'; +import Icon from './icon'; diff --git a/frontend/app/components/icon.gts b/frontend/app/components/icon.gts new file mode 100644 index 0000000000..73a10e46a3 --- /dev/null +++ b/frontend/app/components/icon.gts @@ -0,0 +1,14 @@ +const size = (size?: string) => size ? `fa-${size}` : 'fa-1'; + + diff --git a/frontend/app/components/limber/demo-select.gts b/frontend/app/components/limber/demo-select.gts index 9569e295bc..bc51eab0cc 100644 --- a/frontend/app/components/limber/demo-select.gts +++ b/frontend/app/components/limber/demo-select.gts @@ -5,7 +5,7 @@ import { fn } from '@ember/helper'; import { inject as service } from '@ember/service'; import { waitFor } from '@ember/test-waiters'; -import FaIcon from '@fortawesome/ember-fontawesome/components/fa-icon'; +import Icon from '../icon'; import { getFromLabel, NAMES } from 'limber/snippets'; import Menu from './menu'; @@ -31,9 +31,9 @@ export default class DemoSelect extends Component { Select demo {{#if menu.isOpen}} - + {{else}} - + {{/if}} diff --git a/frontend/app/components/limber/editor/controls/index.gts b/frontend/app/components/limber/editor/controls/index.gts index e8c9f386bf..be4f03330b 100644 --- a/frontend/app/components/limber/editor/controls/index.gts +++ b/frontend/app/components/limber/editor/controls/index.gts @@ -1,7 +1,7 @@ import { fn } from '@ember/helper'; import { on } from '@ember/modifier' -import FaIcon from '@fortawesome/ember-fontawesome/components/fa-icon'; +import Icon from 'limber/components/icon'; import State from './state'; @@ -43,9 +43,9 @@ const Controls =