UNPKG
@buffetjs/styles
Version:
latest (3.3.8)
next (3.3.7-next.1)
rc (3.3.2-rc.0)
3.3.8
3.3.7
3.3.7-next.1
3.3.6
3.3.5
3.3.5-next.3
3.3.5-next.2
3.3.5-next.1
3.3.5-next.0
3.3.4
3.3.4-next.0
3.3.3
3.3.3-next.3
3.3.3-next.2
3.3.3-next.1
3.3.3-next.0
3.3.2
3.3.2-rc.0
3.3.2-next.2
3.3.2-next.1
3.3.1
3.3.1-next.2
3.3.1-next.1
3.3.0
3.3.0-rc.5
3.3.0-rc.4
3.3.0-rc.3
3.3.0-rc.2
3.3.0-rc.1
3.3.0-rc.0
3.2.3
3.2.2-next.1
3.2.2-next.0
3.2.1
3.2.0
3.1.1
3.1.1-next.14
3.1.1-next.13
3.1.1-next.12
3.1.1-next.11
3.1.1-next.10
3.1.1-next.9
3.1.1-next.8
3.1.1-next.7
3.1.1-next.6
3.1.1-next.5
3.1.1-next.4
3.1.1-next.2
3.1.1-next.1
3.1.0
3.1.0-next.4
3.1.0-next.3
3.1.0-next.2
3.1.0-next.1
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.2-next.0
3.0.0
3.0.0-next.3
3.0.0-next.2
3.0.0-next.1
2.1.1-next.1
2.0.0
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.0
Buffetjs Styles - The styling solution of Buffetjs
github.com/strapi/buffet
strapi/buffet
@buffetjs/styles
/
src
/
components
/
Label
/
tests
/
index.test.js
13 lines
(9 loc)
•
240 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import
React
from
'react'
;
import
{ shallow }
from
'enzyme'
;
import
Label
from
'../index'
;
const
renderComponent
= (
) =>
shallow
(
<
Label
/>
);
describe
(
'<Label />'
,
() =>
{
it
(
'should not crash'
,
() =>
{
renderComponent
(); }); });