cms/app-client/tests/unit/helpers/milli-to-minutes-test.js
author ymh <ymh.work@gmail.com>
Tue, 20 Mar 2018 15:02:40 +0100
changeset 573 25f3d28f51b2
parent 476 9cffc7f32f14
permissions -rw-r--r--
Added tag 0.0.25 for changeset 190ae1dee68d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
476
9cffc7f32f14 correct transcripts without topics
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
9cffc7f32f14 correct transcripts without topics
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
import { milliToMinutes } from 'app-client/helpers/milli-to-minutes';
9cffc7f32f14 correct transcripts without topics
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
import { module, test } from 'qunit';
9cffc7f32f14 correct transcripts without topics
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
9cffc7f32f14 correct transcripts without topics
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
module('Unit | Helper | milli to minutes');
9cffc7f32f14 correct transcripts without topics
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
9cffc7f32f14 correct transcripts without topics
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
// Replace this with your real tests.
9cffc7f32f14 correct transcripts without topics
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
test('it works', function(assert) {
9cffc7f32f14 correct transcripts without topics
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
  let result = milliToMinutes([42]);
9cffc7f32f14 correct transcripts without topics
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
  assert.ok(result);
9cffc7f32f14 correct transcripts without topics
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
});
9cffc7f32f14 correct transcripts without topics
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12