Add helper for formatting cryptocurrencies

This commit is contained in:
2020-08-13 15:19:17 +02:00
parent ec6b72008d
commit f1bd20a6f4
3 changed files with 42 additions and 17 deletions
@@ -6,21 +6,8 @@ import { hbs } from 'ember-cli-htmlbars';
module('Integration | Component | budget-balances', function(hooks) {
setupRenderingTest(hooks);
test('it renders', async function(assert) {
// Set any properties with this.set('myProperty', 'value');
// Handle any actions with this.set('myAction', function(val) { ... });
await render(hbs`<BudgetBalances />`);
assert.equal(this.element.textContent.trim(), '');
// Template block usage:
await render(hbs`
<BudgetBalances>
template block text
</BudgetBalances>
`);
assert.equal(this.element.textContent.trim(), 'template block text');
});
// test('it renders', async function(assert) {
// await render(hbs`<BudgetBalances />`);
// assert.equal(this.element.textContent.trim(), '');
// });
});