UNPKG
react-input
Version:
beta (3.0.1-beta)
latest (4.1.3)
4.1.3
4.1.2
4.1.1
4.1.0
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
3.0.9
3.0.8
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.1-beta
3.0.0
3.0.0-beta
2.0.2
2.0.1-alpha.4
2.0.1-alpha.3
2.0.1-alpha.2
2.0.1-alpha.1
1.1.0
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Easy forms for React
github.com/pburtchaell/react-input
pburtchaell/react-input
react-input
/
src
/
submit.spec.js
14 lines
(10 loc)
•
248 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import
Submit
from
'./submit'
;
describe
(
'<Submit/>'
,
() =>
{
it
(
'should render a submit button'
,
() =>
{
const
TEXT
=
'foo'
;
const
wrapper =
shallow
(
<
Submit
text
=
{TEXT}
/>
);
expect
(wrapper).
toMatchSnapshot
(); }); });