cms/app-client/tests/unit/helpers/to-minutes-test.js
author ymh <ymh.work@gmail.com>
Wed, 01 Feb 2017 17:54:44 +0100
changeset 492 acecbffac2c4
parent 211 7451203a1321
permissions -rw-r--r--
on notice display add external link to subject, locations, and languages, correct #0025938
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
211
7451203a1321 Setup progress bar
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     1
import { toMinutes } from 'app-client/helpers/to-minutes';
7451203a1321 Setup progress bar
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     2
import { module, test } from 'qunit';
7451203a1321 Setup progress bar
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     3
7451203a1321 Setup progress bar
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     4
module('Unit | Helper | to minutes');
7451203a1321 Setup progress bar
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     5
7451203a1321 Setup progress bar
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     6
// Replace this with your real tests.
7451203a1321 Setup progress bar
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     7
test('it works', function(assert) {
7451203a1321 Setup progress bar
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     8
  let result = toMinutes([42]);
7451203a1321 Setup progress bar
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     9
  assert.ok(result);
7451203a1321 Setup progress bar
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
    10
});