cms/app-client/tests/unit/helpers/if-and-test.js
author ymh <ymh.work@gmail.com>
Fri, 17 Nov 2017 10:37:11 +0100
changeset 560 c956ffb74052
parent 214 9bff007eb03c
permissions -rw-r--r--
Added tag 0.0.24 for changeset 104313c0de25
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
214
9bff007eb03c Reflect player-component actions on playlist-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     1
import { ifAnd } from 'app-client/helpers/if-and';
9bff007eb03c Reflect player-component actions on playlist-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     2
import { module, test } from 'qunit';
9bff007eb03c Reflect player-component actions on playlist-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     3
9bff007eb03c Reflect player-component actions on playlist-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     4
module('Unit | Helper | if and');
9bff007eb03c Reflect player-component actions on playlist-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     5
9bff007eb03c Reflect player-component actions on playlist-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     6
// Replace this with your real tests.
9bff007eb03c Reflect player-component actions on playlist-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     7
test('it works', function(assert) {
9bff007eb03c Reflect player-component actions on playlist-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     8
  let result = ifAnd([42]);
9bff007eb03c Reflect player-component actions on playlist-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     9
  assert.ok(result);
9bff007eb03c Reflect player-component actions on playlist-component
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
    10
});