cms/app-client/tests/unit/helpers/milli-to-minutes-test.js
author ymh <ymh.work@gmail.com>
Sun, 18 Dec 2016 01:13:51 +0100
changeset 476 9cffc7f32f14
permissions -rw-r--r--
correct transcripts without topics
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