UNPKG
metadata-based-explorer1
Version:
latest (0.1.0)
0.1.0
Box UI Elements
developer.box.com/docs/box-ui-elements
box/box-ui-elements
metadata-based-explorer1
/
src
/
components
/
badge
/
__tests__
/
BetaBadge-test.js
12 lines
(8 loc)
•
265 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
React
from
'react'
;
import
BetaBadge
from
'../BetaBadge'
;
describe
(
'components/badge/BetaBadge'
,
() =>
{
test
(
'should render a beta badge'
,
() =>
{
const
wrapper =
shallow
(
<
BetaBadge
/>
);
expect
(wrapper).
toMatchSnapshot
(); }); });