server/bo_client/tests/unit/helpers/add-one-test.js
author Chloe Laisne <chloe.laisne@gmail.com>
Mon, 04 Jul 2016 12:42:57 +0200
changeset 219 3578846b66f4
parent 20 a9b98b16b053
permissions -rw-r--r--
Remove /detail endpoint and related code
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20
a9b98b16b053 add contributor list + edition pane
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
import { addOne } from '../../../helpers/add-one';
a9b98b16b053 add contributor list + edition pane
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
import { module, test } from 'qunit';
a9b98b16b053 add contributor list + edition pane
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
a9b98b16b053 add contributor list + edition pane
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
module('Unit | Helper | add one');
a9b98b16b053 add contributor list + edition pane
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
a9b98b16b053 add contributor list + edition pane
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
// Replace this with your real tests.
a9b98b16b053 add contributor list + edition pane
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
test('it works', function(assert) {
a9b98b16b053 add contributor list + edition pane
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
  let result = addOne(42);
a9b98b16b053 add contributor list + edition pane
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
  assert.equal(result, 43);
a9b98b16b053 add contributor list + edition pane
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
});