rwwagner90/ember-math-helpers

View on GitHub
test-app/tests/unit/helpers/exp-test.js

Summary

Maintainability
A
0 mins
Test Coverage
import { exp } from 'ember-math-helpers/helpers/exp';
import { module, test } from 'qunit';

module('Unit | Helper | exp', function () {
  test('exp works', function (assert) {
    const result = exp([1]);
    assert.strictEqual(Number(result.toFixed(3)), 2.718);
  });
});