| author | ymh <ymh.work@gmail.com> |
| Sat, 06 Aug 2016 21:29:33 +0700 | |
| changeset 261 | 02e2396bcbbc |
| parent 214 | 9bff007eb03c |
| permissions | -rw-r--r-- |
|
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 |
}); |