UNPKG
react-hold
Version:
latest (0.2.1)
0.2.1
0.2.0
0.1.0
Hold the empty presentational components in react.js
github.com/toplan/react-hold
toplan/react-hold
react-hold
/
src
/
__tests__
/
align-test.js
16 lines
(12 loc)
•
279 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import
{
LEFT
,
CENTER
,
RIGHT
}
from
'../align'
describe
(
'Align constants'
,
() =>
{
it
(
'has LEFT'
,
() =>
{
expect
(
LEFT
).
toBe
(
'left'
) })
it
(
'has CENTER'
,
() =>
{
expect
(
CENTER
).
toBe
(
'center'
) })
it
(
'has CENTER'
,
() =>
{
expect
(
RIGHT
).
toBe
(
'right'
) }) })