import { floatToDollars } from 'web-client/helpers/float-to-dollars';
import { module, test } from 'qunit';

module('Unit | Helper | float-to-dollars');

test('convert floating number to dollar amount with commas', function(assert) {
  let result = floatToDollars(12345.67);
  assert.equal(result, '12,345', 'correctly floated to dollar amount');
});
