cms/app-client/tests/unit/helpers/annotation-content-test.js
author ymh <ymh.work@gmail.com>
Mon, 12 Dec 2016 17:37:54 +0100
changeset 468 8fe093d88efe
parent 460 686926d132ff
permissions -rw-r--r--
correct min, max calculations when theme list change
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
460
686926d132ff add events, comment, etc to transcripts
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
686926d132ff add events, comment, etc to transcripts
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
import { annotationContent } from 'app-client/helpers/annotation-content';
686926d132ff add events, comment, etc to transcripts
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
import { module, test } from 'qunit';
686926d132ff add events, comment, etc to transcripts
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
686926d132ff add events, comment, etc to transcripts
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
module('Unit | Helper | annotation content');
686926d132ff add events, comment, etc to transcripts
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
686926d132ff add events, comment, etc to transcripts
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
// Replace this with your real tests.
686926d132ff add events, comment, etc to transcripts
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
test('it works', function(assert) {
686926d132ff add events, comment, etc to transcripts
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
  let result = annotationContent([42]);
686926d132ff add events, comment, etc to transcripts
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
  assert.ok(result);
686926d132ff add events, comment, etc to transcripts
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
});
686926d132ff add events, comment, etc to transcripts
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12