cms/app-client/tests/unit/helpers/milli-to-minutes-test.js
author ymh <ymh.work@gmail.com>
Wed, 13 Sep 2017 22:19:48 +0200
changeset 544 ad58d7627f70
parent 476 9cffc7f32f14
permissions -rw-r--r--
use same http client in ImportCocoonRDF and define version 0.22
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