cms/app-client/tests/unit/helpers/popularity-test.js
author ymh <ymh.work@gmail.com>
Thu, 20 Oct 2016 17:27:36 +0200
changeset 377 52169c718513
parent 176 d1baf7ccecc8
permissions -rw-r--r--
make all stats view use elasticsearch. Make sure that the document discourse types are taken form the predefined list

import { popularity } from 'app-client/helpers/popularity';
import { module, test } from 'qunit';

module('Unit | Helper | popularity');

// Replace this with your real tests.
test('it works', function(assert) {
    let result = popularity([42]);
    assert.ok(result);
});