UNPKG
@alchemyalcove/basic-functions
Version:
latest (1.0.0)
1.0.0
0.0.0
Ether Basic Functions
github.com/AlchemyAlcove/BasicFunctions
AlchemyAlcove/BasicFunctions
@alchemyalcove/basic-functions
/
test
/
cx.test.js
13 lines
(11 loc)
•
228 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import
{ cx }
from
"../src"
;
test
(
"true values should be added"
,
() =>
{
const
obj = {
"foo"
:
true
,
"bar"
:
true
,
"test"
:
false
,
"wrong"
:
false
,
"bugs"
:
true
}
expect
(
cx
(obj)).
toBe
(
"foo bar bugs"
); });